You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ZeroC pre-commit Hooks
Individual hooks can be enabled or disabled through git configuration: git config [--global] zeroc.hook.{{hookname}} true|false
- indentation
- whitespace
- license
- skipping dotnet-format (add to config to enable)
- clippy
Checking slicec-cs v0.1.0 (/Users/bernard/builds/icerpc-csharp/tools/slicec-cs)
error: redundant clone
--> src/cs_compile.rs:89:48
|
89 | slice_options.references.push(tests_dir.clone());
| ^^^^^^^^ help: remove this
|
= note: `-D clippy::redundant-clone` implied by `-D warnings`
note: this value is dropped without further use
--> src/cs_compile.rs:89:39
|
89 | slice_options.references.push(tests_dir.clone());
| ^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
error: could not compile `slicec-cs` due to previous error
- rustfmt
That's unrelated to my code. Why is this happening?
The text was updated successfully, but these errors were encountered:
That's unrelated to my code. Why is this happening?
The text was updated successfully, but these errors were encountered: