Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Leandros committed Oct 22, 2024
1 parent 8fa62a4 commit de2dbf1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ferrunix-core/src/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -442,11 +442,10 @@ pub struct Builder<'reg, T, Deps> {
}

impl<
'reg,
T,
#[cfg(not(feature = "tokio"))] Deps: DepBuilder<T> + 'static,
#[cfg(feature = "tokio")] Deps: DepBuilder<T> + Sync + 'static,
> Builder<'reg, T, Deps>
> Builder<'_, T, Deps>
where
T: Registerable,
{
Expand Down
4 changes: 3 additions & 1 deletion xtask/src/ci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ pub(super) fn run() -> Result<()> {
}

// cmd!(sh, "cargo test --all").run()?;
cmd!(sh, "cargo clippy --tests --workspace").run()?;
if cmd!(sh, "cargo clippy --version").output().is_ok() {
cmd!(sh, "cargo clippy --tests --workspace").run()?;
}

if has_cargo_outdated {
cmd!(sh, "cargo outdated --workspace --exit-code 1").run()?;
Expand Down

0 comments on commit de2dbf1

Please sign in to comment.