Skip to content

Commit

Permalink
Fix clippy error & run --all-features in CI (#701)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty authored Jan 5, 2025
1 parent f750c5b commit 3f1e9a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ format-check:

lint:
@rustup component add clippy 2> /dev/null
@cargo clippy --all-targets --workspace -- --deny warnings
@cargo clippy --all-targets --all-features -- --deny warnings

.PHONY: all doc test cargotest format format-check lint update-readme
2 changes: 1 addition & 1 deletion insta/src/glob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub(crate) struct GlobCollector {

/// the glob stack holds failure count and an indication if `cargo insta review`
/// should be run.
pub(crate) static GLOB_STACK: Lazy<Mutex<Vec<GlobCollector>>> = Lazy::new(|| Mutex::default());
pub(crate) static GLOB_STACK: Lazy<Mutex<Vec<GlobCollector>>> = Lazy::new(Mutex::default);

static GLOB_FILTER: Lazy<Vec<GlobMatcher>> = Lazy::new(|| {
env::var("INSTA_GLOB_FILTER")
Expand Down

0 comments on commit 3f1e9a1

Please sign in to comment.