Skip to content

Commit 46cb8a7

Browse files
committed
stl: solve deprecation warnings
1 parent 4e7419b commit 46cb8a7

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

commit_verify/src/bin/commit-stl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// software. If not, see <https://opensource.org/licenses/Apache-2.0>.
1414

1515
use commit_verify::stl;
16-
use strict_types::typelib::parse_args;
16+
use strict_types::parse_args;
1717

1818
fn main() {
1919
let lib = stl::commit_verify_stl();

commit_verify/src/stl.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,14 @@
1919
// See the License for the specific language governing permissions and
2020
// limitations under the License.
2121

22-
use strict_types::typelib::{LibBuilder, TranslateError};
23-
use strict_types::TypeLib;
22+
use strict_types::{CompileError, LibBuilder, TypeLib};
2423

2524
use crate::{mpc, LIB_NAME_COMMIT_VERIFY};
2625

2726
pub const LIB_ID_COMMIT_VERIFY: &str =
28-
"pasta_basic_broken_3a8aYXeMqSGKyeyGrcQHUn5mh995whDbERictXFSG1GG";
27+
"sensor_correct_total_6RNoZhpeu95My9KqGM7j8BcY4tcNa8rwAjXbXUGteuf9";
2928

30-
fn _commit_verify_stl() -> Result<TypeLib, TranslateError> {
29+
fn _commit_verify_stl() -> Result<TypeLib, CompileError> {
3130
LibBuilder::new(libname!(LIB_NAME_COMMIT_VERIFY), tiny_bset! {
3231
strict_types::stl::std_stl().to_dependency()
3332
})

0 commit comments

Comments
 (0)