mirror of
https://github.com/smoltcp-rs/smoltcp.git
synced 2025-10-02 07:10:39 +00:00
Merge pull request #947 from umi-eng/duration-doc-typo
Fix typo in doc comment (`Instant` -> `Duration`)
This commit is contained in:
commit
99ddd22cdb
@ -198,7 +198,7 @@ impl Duration {
|
||||
}
|
||||
}
|
||||
|
||||
/// Create a new `Instant` from a number of seconds.
|
||||
/// Create a new `Duration` from a number of seconds.
|
||||
pub const fn from_secs(secs: u64) -> Duration {
|
||||
Duration {
|
||||
micros: secs * 1000000,
|
||||
|
Loading…
x
Reference in New Issue
Block a user