Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrobbel committed Oct 11, 2023
1 parent a8d536a commit 50f4a6c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ serde = ["dep:prost-wkt", "dep:prost-wkt-build", "dep:prost-wkt-types"]
semver = ["dep:semver"]

[dependencies]
pbjson = { version = "0.6", optional = true }
pbjson-types = { version = "0.6", optional = true }
pbjson = { version = "0.6.0", optional = true }
pbjson-types = { version = "0.6.0", optional = true }
prost = "0.12"
prost-types = "0.12"
prost-wkt = { version = "0.5", optional = true }
Expand All @@ -45,7 +45,7 @@ serde_json = "1"
[build-dependencies]
git2 = { version = "0.18.0", default-features = false }
heck = "0.4"
pbjson-build = { version = "0.6", optional = true }
pbjson-build = { version = "0.6.2", optional = true }
prettyplease = "0.2.4"
prost-build = { version = "0.12", default-features = false }
prost-types = "0.12"
Expand Down
2 changes: 1 addition & 1 deletion src/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ mod tests {
})
.map(DirEntry::into_path)
.for_each(|path| {
let file = fs::read_to_string(&path).unwrap();
let file = fs::read_to_string(path).unwrap();
let simple_extension = serde_yaml::from_str::<SimpleExtensions>(&file);
assert!(simple_extension.is_ok());
});
Expand Down
1 change: 1 addition & 0 deletions src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ mod tests {
}

#[test]
#[allow(clippy::assertions_on_constants)]
fn not_dirty() {
// There should be no `dirty` in the describe output.
assert!(!super::SUBSTRAIT_GIT_DESCRIBE.contains("dirty"));
Expand Down

0 comments on commit 50f4a6c

Please sign in to comment.