mirror of
https://github.com/smoltcp-rs/smoltcp.git
synced 2025-10-02 07:10:39 +00:00
fix typo
This commit is contained in:
parent
fcd40b536a
commit
5d6fd7e426
@ -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