We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a296693 + 3ad0618 commit 4b913a2Copy full SHA for 4b913a2
library/core/src/time.rs
@@ -1437,10 +1437,10 @@ impl TryFromFloatSecsError {
1437
const fn description(&self) -> &'static str {
1438
match self.kind {
1439
TryFromFloatSecsErrorKind::Negative => {
1440
- "can not convert float seconds to Duration: value is negative"
+ "cannot convert float seconds to Duration: value is negative"
1441
}
1442
TryFromFloatSecsErrorKind::OverflowOrNan => {
1443
- "can not convert float seconds to Duration: value is either too big or NaN"
+ "cannot convert float seconds to Duration: value is either too big or NaN"
1444
1445
1446
0 commit comments