Correct spelling (#4152)

This commit is contained in:
Edward Betts
2021-11-25 17:11:20 +00:00
committed by GitHub
parent e06df124ca
commit 3e93ae8af4
11 changed files with 11 additions and 11 deletions

View File

@ -290,7 +290,7 @@ impl Primitive {
.expect("Internal error: conversion from u32 failed"),
);
let secs = match secs.to_i64() {
//The duration crate doesnt accept seconds bigger than i64::MAX / 1000
//The duration crate doesn't accept seconds bigger than i64::MAX / 1000
Some(secs) => match secs.checked_mul(1000) {
Some(_) => secs,
None => {