Skip to content

Commit

Permalink
Fix warning when compiling without all transports
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlattimore committed Sep 25, 2022
1 parent f79c4dc commit 545202d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transport/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ macro_rules! do_if_enabled {
}

#[cfg(not(feature = $feature))]
panic!(format!("feature \"{}\" is not enabled", $feature))
panic!("feature \"{}\" is not enabled", $feature)
}};
}

Expand Down

0 comments on commit 545202d

Please sign in to comment.