Added docs

This commit is contained in:
arkpar 2016-09-16 12:18:27 +02:00
parent cc845c61d3
commit 0124f985c3

View File

@ -41,7 +41,9 @@ pub struct Informant {
skipped: AtomicUsize, skipped: AtomicUsize,
} }
/// Something that can be converted to milliseconds.
pub trait MillisecondDuration { pub trait MillisecondDuration {
/// Get the value in milliseconds.
fn as_milliseconds(&self) -> u64; fn as_milliseconds(&self) -> u64;
} }