Skip to content

Commit

Permalink
Merge pull request #173 from davidlattimore/fix-panic-warning
Browse files Browse the repository at this point in the history
Fix warning when compiling without all transports
  • Loading branch information
poyea committed Oct 1, 2022
2 parents f79c4dc + 545202d commit 8efa922
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 8efa922

Please sign in to comment.