mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Move a few modules to util
This commit is contained in:
1 parent
999e7c4566
commit
5c634c9f2f
22 files changed
+22
-21
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user