Added docs

This commit is contained in:
arkpar 2016-09-16 12:18:27 +02:00
parent cc845c61d3
commit 0124f985c3
1 changed files with 2 additions and 0 deletions

View File

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