From 0124f985c3bea061d0c51392edaf378c3d4c597e Mon Sep 17 00:00:00 2001 From: arkpar Date: Fri, 16 Sep 2016 12:18:27 +0200 Subject: [PATCH] Added docs --- parity/informant.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parity/informant.rs b/parity/informant.rs index 7f0534145..f2cc41f64 100644 --- a/parity/informant.rs +++ b/parity/informant.rs @@ -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; }