diff options
Diffstat (limited to 'tokio/src/time/error.rs')
-rw-r--r-- | tokio/src/time/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/time/error.rs b/tokio/src/time/error.rs index 994eec1f..82a17275 100644 --- a/tokio/src/time/error.rs +++ b/tokio/src/time/error.rs @@ -31,7 +31,7 @@ enum Kind { } impl Error { - /// Create an error representing a shutdown timer. + /// Creates an error representing a shutdown timer. pub fn shutdown() -> Error { Error(Shutdown) } @@ -44,7 +44,7 @@ impl Error { } } - /// Create an error representing a timer at capacity. + /// Creates an error representing a timer at capacity. pub fn at_capacity() -> Error { Error(AtCapacity) } |