mirror of
https://github.com/stefanoamorelli/crabrl.git
synced 2026-04-18 15:20:49 +00:00
style: fix code formatting for CI
- Apply consistent formatting to examples - Fix Error enum formatting in lib.rs - Format if-else expressions properly
This commit is contained in:
@@ -13,7 +13,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
// Parse
|
||||
let parser = Parser::new();
|
||||
let doc = parser.parse_file(&args[1])?;
|
||||
|
||||
|
||||
// Validate
|
||||
let validator = Validator::new();
|
||||
match validator.validate(&doc) {
|
||||
@@ -24,6 +24,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
println!("✗ Validation failed: {}", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user