Skip to content

Commit

Permalink
Fix cargo clippy (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mallets authored Mar 29, 2024
1 parent 9449c31 commit 05b9cb4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions commons/zenoh-macros/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ fn main() {
let version_rs = std::path::PathBuf::from(env::var_os("OUT_DIR").unwrap()).join("version.rs");
let mut version_rs = OpenOptions::new()
.create(true)
.truncate(true)
.write(true)
.open(version_rs)
.unwrap();
Expand Down
3 changes: 1 addition & 2 deletions zenoh/tests/connection_retry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ fn retry_config_overriding() {
.insert_json5("listen/exit_on_failure", "false")
.unwrap();

let expected = vec![
// global value
let expected = [
ConnectionRetryConf {
period_init_ms: 3000,
period_max_ms: 6000,
Expand Down

0 comments on commit 05b9cb4

Please sign in to comment.