Skip to content

Commit eebac1b

Browse files
authored
Change allow to expect (#156)
**Stack**: - #156 ⬅ - #155 - #154 - #153 ⚠️ *Part of a stack created by [spr](https://github.com/ejoffe/spr). Do not merge manually using the UI - doing so may have unexpected results.*
1 parent d2dee5c commit eebac1b

File tree

1 file changed

+1
-1
lines changed
  • crates/cairo-coverage-core/src

1 file changed

+1
-1
lines changed

crates/cairo-coverage-core/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use scarb_metadata::{Metadata, MetadataCommand};
2121
/// This function generates a coverage report in the LCOV format.
2222
/// # Errors
2323
/// Fails if it can't produce the coverage report with the error message explaining the reason.
24-
#[allow(clippy::needless_pass_by_value)] // In case if we ever needed to take ownership of the arguments.
24+
#[expect(clippy::needless_pass_by_value)] // In case if we ever needed to take ownership of the arguments.
2525
pub fn run(
2626
trace_files: Vec<Utf8PathBuf>,
2727
RunOptions {

0 commit comments

Comments
 (0)