clippy fixes after merge

This commit is contained in:
Anton-4 2023-01-17 18:24:38 +01:00
parent 35b93f0d1e
commit 88f218d24f
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937
2 changed files with 2 additions and 2 deletions

View file

@ -334,7 +334,7 @@ mod cli_run {
// when you want to run `roc test` to execute `expect`s, perhaps on a library rather than an application.
fn test_roc_expect(dir_name: &str, roc_filename: &str) {
let path = file_path_from_root(dir_name, roc_filename);
let out = run_roc(&[CMD_TEST, path.to_str().unwrap()], &[], &[]);
let out = run_roc([CMD_TEST, path.to_str().unwrap()], &[], &[]);
assert!(out.status.success());
}

View file

@ -66,7 +66,7 @@ roc_error_macros::assert_sizeof_wasm!(CallType, 36);
roc_error_macros::assert_sizeof_non_wasm!(Literal, 3 * 8);
roc_error_macros::assert_sizeof_non_wasm!(Expr, 9 * 8);
roc_error_macros::assert_sizeof_non_wasm!(Stmt, 14 * 8);
roc_error_macros::assert_sizeof_non_wasm!(Stmt, 12 * 8);
roc_error_macros::assert_sizeof_non_wasm!(ProcLayout, 5 * 8);
roc_error_macros::assert_sizeof_non_wasm!(Call, 9 * 8);
roc_error_macros::assert_sizeof_non_wasm!(CallType, 7 * 8);