We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df7daa8 commit 3ad0618Copy full SHA for 3ad0618
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