mirror of
https://github.com/Dummi26/mers.git
synced 2026-01-15 23:22:46 +01:00
make objects work better, especially destructuring
This commit is contained in:
@@ -15,7 +15,7 @@ default = ["colored-output"]
|
||||
colored-output = ["mers_lib/ecolor-term", "mers_lib/pretty-print", "dep:colored"]
|
||||
|
||||
[dependencies]
|
||||
mers_lib = "0.9.2"
|
||||
# mers_lib = { path = "../mers_lib" }
|
||||
# mers_lib = "0.9.2"
|
||||
mers_lib = { path = "../mers_lib" }
|
||||
clap = { version = "4.3.19", features = ["derive"] }
|
||||
colored = { version = "2.1.0", optional = true }
|
||||
|
||||
@@ -132,12 +132,12 @@ fn main() {
|
||||
eprintln!("{e:?}");
|
||||
exit(24);
|
||||
}
|
||||
Ok(compiled) => match check(&*compiled, i3) {
|
||||
Ok(compiled) => match check_mut(&*compiled, &mut i3) {
|
||||
Err(e) => {
|
||||
eprintln!("{e:?}");
|
||||
exit(28);
|
||||
}
|
||||
Ok(output_type) => eprintln!("{output_type}"),
|
||||
Ok(output_type) => eprintln!("{}", output_type.with_info(&i3)),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user