Clarify "this" in time::now docs
This commit is contained in:
parent
d9f24dddb9
commit
6a1cd02b3a
1 changed files with 2 additions and 2 deletions
|
|
@ -17,8 +17,8 @@ use crate::Task;
|
|||
/// Returns a [`Task`] that produces the current [`Instant`]
|
||||
/// by calling [`Instant::now`].
|
||||
///
|
||||
/// While you can call [`Instant::now`] directly in your application,
|
||||
/// this is an "impure" operation (i.e. it's not referentially transparent).
|
||||
/// While you can call [`Instant::now`] directly in your application;
|
||||
/// that renders your application "impure" (i.e. no referential transparency).
|
||||
///
|
||||
/// You may care about purity if you want to leverage the `time-travel`
|
||||
/// feature properly.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue