mirror of
https://github.com/stefanoamorelli/crabrl.git
synced 2026-04-18 15:20:49 +00:00
style: apply rustfmt formatting
This commit is contained in:
@@ -80,7 +80,6 @@ impl ValidationConfig {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// Simple validation result for CLI
|
/// Simple validation result for CLI
|
||||||
pub struct ValidationResult {
|
pub struct ValidationResult {
|
||||||
pub is_valid: bool,
|
pub is_valid: bool,
|
||||||
|
|||||||
@@ -109,13 +109,8 @@ pub struct Scenario {
|
|||||||
// Period with forever support
|
// Period with forever support
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
pub enum Period {
|
pub enum Period {
|
||||||
Instant {
|
Instant { date: String },
|
||||||
date: String,
|
Duration { start: String, end: String },
|
||||||
},
|
|
||||||
Duration {
|
|
||||||
start: String,
|
|
||||||
end: String,
|
|
||||||
},
|
|
||||||
Forever,
|
Forever,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user