We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 877dedc commit 02ede98Copy full SHA for 02ede98
2 files changed
cel/src/duration.rs
@@ -8,11 +8,8 @@ use nom::number::complete::double;
8
use nom::IResult;
9
10
// Constants representing time units in nanoseconds
11
-#[allow(dead_code)]
12
const SECOND: u64 = 1_000_000_000;
13
14
const MILLISECOND: u64 = 1_000_000;
15
16
const MICROSECOND: u64 = 1_000;
17
18
/// Parses a duration string into a [`Duration`]. Duration strings support the
cel/src/parser/parser.rs
@@ -69,7 +69,6 @@ impl Display for ParseErrors {
69
70
impl Error for ParseErrors {}
71
72
73
#[derive(Debug)]
74
pub struct ParseError {
75
pub source: Option<Box<dyn Error + Send + Sync + 'static>>,
0 commit comments