Move a few modules to util

This commit is contained in:
David Peter authored and David Peter committed 2022-02-06 20:19:50 +01:00
1 parent 999e7c4566
commit 5c634c9f2f
22 files changed
+22 -21

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
use crate::units::{Second, Unit};
use crate::util::units::{Second, Unit};
/// Format the given duration as a string. The output-unit can be enforced by setting `unit` to
/// `Some(target_unit)`. If `unit` is `None`, it will be determined automatically.
+1 -1
View File
@@ -2,7 +2,7 @@ use std::fmt;
use crate::benchmark::MIN_EXECUTION_TIME;
use crate::output::format::format_duration;
use crate::units::Second;
use crate::util::units::Second;
/// A list of all possible warnings
pub enum Warnings {