Skip to content

Commit

Permalink
chore: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
etolbakov authored Dec 18, 2023
1 parent fe6c823 commit 1eee76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickwit/quickwit-common/src/parse_duration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl fmt::Display for DurationError {
/// "2h45m".
///
/// Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
/// Taken from https://crates.io/crates/go-parse-duration
/// Taken from <https://github.com/aprimadi/parse-duration-rs/blob/8cc8881cb0a07c41473d4d4208c13cc665eef46e/src/lib.rs#L63>
pub fn parse_duration(string: &str) -> Result<i64, DurationError> {
let mut s = string;
let mut duration: i64 = 0;
Expand Down

0 comments on commit 1eee76d

Please sign in to comment.