diff --git a/lib/cretonne/src/timing.rs b/lib/cretonne/src/timing.rs index 90d15353e1..c05ee93004 100644 --- a/lib/cretonne/src/timing.rs +++ b/lib/cretonne/src/timing.rs @@ -91,7 +91,7 @@ impl fmt::Display for Pass { /// /// This whole module can be gated on a `cfg` feature to provide a dummy implementation for /// performance-sensitive builds or restricted environments. The dummy implementation must provide -/// `TimingToken` and `PassTimes` types and `take_current`, `add_to_current`, and `start_pass` functions. +/// `TimingToken` and `PassTimes` types and `take_current`, `add_to_current`, and `start_pass` funcs #[cfg(not(feature = "no_std"))] mod details { use super::{Pass, NUM_PASSES, DESCRIPTIONS}; @@ -227,7 +227,7 @@ mod details { PassTimes } /// does nothing - pub fn add_to_current(_times: PassTimes) { } + pub fn add_to_current(_times: PassTimes) {} /// does nothing pub(super) fn start_pass(_pass: Pass) -> TimingToken {