add timepoint_from_now to complement timepoint_ago in utils
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
2ed0c267eb
commit
89b5c4ee1c
2 changed files with 8 additions and 1 deletions
|
@ -34,7 +34,7 @@ pub use self::{
|
|||
stream::{IterStream, ReadyExt, Tools as StreamTools, TryReadyExt},
|
||||
string::{str_from_bytes, string_from_bytes},
|
||||
sys::available_parallelism,
|
||||
time::now_millis as millis_since_unix_epoch,
|
||||
time::{now_millis as millis_since_unix_epoch, timepoint_ago, timepoint_from_now},
|
||||
};
|
||||
|
||||
#[inline]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue