Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Apr 19, 2024
1 parent 255fe24 commit 149f6dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions devenv/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ impl App {
serde_json::from_slice::<CachixResponse>(&resp.bytes().unwrap())
.expect("Failed to parse JSON");
new_known_keys
.insert(name.clone(), resp_json.publicSigningKeys[0].clone());
.insert(name.clone(), resp_json.public_signing_keys[0].clone());
}
}
}
Expand Down Expand Up @@ -384,7 +384,8 @@ pub struct CachixCaches {

#[derive(Deserialize, Clone)]
struct CachixResponse {
publicSigningKeys: Vec<String>,
#[serde(rename = "publicSigningKeys")]
public_signing_keys: Vec<String>,
}

#[derive(Deserialize, Clone)]
Expand Down
1 change: 1 addition & 0 deletions devenv/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ impl From<&Input> for FlakeInput {
fn true_default() -> bool {
true
}
#[allow(dead_code)]
fn false_default() -> bool {
false
}
Expand Down

0 comments on commit 149f6dd

Please sign in to comment.