Skip to content

Commit

Permalink
Merge pull request containers#895 from cgwalters/fix-misc-warnings
Browse files Browse the repository at this point in the history
ext: Fix a few lints
  • Loading branch information
jeckersb authored Nov 11, 2024
2 parents 56e2862 + e0c627e commit c1ac763
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ostree-ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,6 @@ features = ["dox"]
docgen = ["clap_mangen"]
dox = ["ostree/dox"]
internal-testing-api = ["xshell", "indoc", "similar-asserts"]

[lints]
workspace = true
2 changes: 1 addition & 1 deletion ostree-ext/src/container/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ impl ImageImporter {
let commit_layer = commit_layer.map(query).transpose()?;
let component_layers = component_layers
.into_iter()
.map(|l| query(l))
.map(query)
.collect::<Result<Vec<_>>>()?;
let remaining_layers = remaining_layers
.into_iter()
Expand Down
2 changes: 1 addition & 1 deletion ostree-ext/src/fixture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ pub struct NonOstreeFixture {
}

impl NonOstreeFixture {
const SRCOCI: &str = "src/oci";
const SRCOCI: &'static str = "src/oci";

#[context("Initializing fixture")]
pub fn new_base() -> Result<Self> {
Expand Down

0 comments on commit c1ac763

Please sign in to comment.