Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Nov 14, 2024
1 parent 2e8120a commit c284705
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@ use std::{path::PathBuf, vec};

use miette::{Context, IntoDiagnostic};
use rattler_conda_types::{Channel, MatchSpec, ParseStrictness};
use rattler_solve::{ChannelPriority, SolveStrategy};

use crate::{
metadata::{build_reindexed_channels, Output},
package_test,
package_test::TestConfiguration,
recipe::parser::TestType,
render::solver::load_repodatas,
tool_configuration,
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ fn can_test(output: &Output, all_output_names: &[&PackageName], done_outputs: &[
return false;
}
}
return true;
true
};

// Check if any run dependencies are not built yet
Expand Down
5 changes: 3 additions & 2 deletions src/variant_render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pub struct RawOutputVec {
pub used_vars_jinja: Vec<HashSet<NormalizedKey>>,

/// The recipe string
#[allow(unused)]
pub recipe: String,
}

Expand Down Expand Up @@ -224,10 +225,10 @@ impl Stage1Render {
.collect::<Vec<usize>>();

// Update the order of the outputs
return Stage1Render {
Stage1Render {
order: sorted_indices,
..self
};
}
}

pub fn outputs(
Expand Down

0 comments on commit c284705

Please sign in to comment.