Skip to content

Commit

Permalink
Cleanup and fix
Browse files Browse the repository at this point in the history
  • Loading branch information
linyinfeng committed Dec 29, 2024
1 parent f4b8ac3 commit 5462472
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@
inherit (self'.packages) angrr;
doc = craneLib.cargoDoc commonArgs;
fmt = craneLib.cargoFmt { inherit src; };
nextest = craneLib.cargoNextest commonArgs;
nextest = craneLib.cargoNextest (
commonArgs
// {
cargoNextestExtraArgs = lib.escapeShellArgs [ "--no-tests=warn" ];
}
);
clippy = craneLib.cargoClippy (
commonArgs // { cargoClippyExtraArgs = "--all-targets -- --deny warnings"; }
);
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ impl RunContext {
}
}

impl<'c> ToRemove<'c> {
impl ToRemove<'_> {
fn options(&self) -> &RunOptions {
&self.context.options
}
Expand Down

0 comments on commit 5462472

Please sign in to comment.