Fixed formatting issues

This commit is contained in:
Lachlan Sneff
2018-01-15 17:02:28 -05:00
committed by Dan Gohman
parent 66a150e67a
commit 5c85c1ba4a

View File

@@ -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 {