mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Clippy
This commit is contained in:
1 parent
a9364cbc52
commit
2c2b13784e
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -60,7 +60,7 @@ fn main() -> Result<(), lexopt::Error> {
|
||||
|
||||
for script in &scripts {
|
||||
if script.exists() && script.is_file() {
|
||||
let res = display_script(script, mode, opts.clone(), expand_code_objects);
|
||||
let res = display_script(script, mode, opts, expand_code_objects);
|
||||
if let Err(e) = res {
|
||||
error!("Error while compiling {script:?}: {e}");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user