Skip to content

Commit

Permalink
clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Jun 12, 2024
1 parent 7ff7e81 commit 1bbbc9a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion examples/examples/z_get_shm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ use std::time::Duration;

use clap::Parser;
use zenoh::{
key_expr::KeyExpr,
prelude::*,
query::QueryTarget,
selector::KeyExpr,
shm::{
zshm, BlockOn, GarbageCollect, PosixShmProviderBackend, ShmProviderBuilder,
POSIX_PROTOCOL_ID,
Expand Down
2 changes: 0 additions & 2 deletions zenoh/src/net/runtime/adminspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,6 @@ fn local_data(context: &AdminContext, query: Query) {
#[cfg(feature = "stats")]
{
let stats = query
.selector()
.parameters()
.iter()
.any(|(k, v)| k == "_stats" && v != "false");
Expand Down Expand Up @@ -611,7 +610,6 @@ fn local_data(context: &AdminContext, query: Query) {
#[cfg(feature = "stats")]
{
let stats = query
.selector()
.parameters()
.iter()
.any(|(k, v)| k == "_stats" && v != "false");
Expand Down

0 comments on commit 1bbbc9a

Please sign in to comment.