Skip to content

Commit

Permalink
Fix minor clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
byronwasti committed Jan 23, 2024
1 parent 4919864 commit 5a1e3bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ build-release:
cargo build --release

publish:
cargo clippy --all-targets -- -D warnings
cd balter-macros && cargo publish
cd balter-core && cargo publish

Expand Down
2 changes: 1 addition & 1 deletion balter-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ fn scenario_internal(_attr: TokenStream, item: TokenStream, linkme: bool) -> Tok
static #static_name: (&'static str, fn() -> ::balter::scenario::Scenario) = (stringify!(#scen_name), #scen_name);
};

linkme.extend(res.into_iter());
linkme.extend(res);
linkme
} else {
res
Expand Down

0 comments on commit 5a1e3bc

Please sign in to comment.