diff options
Diffstat (limited to 'rust/rust.go')
-rw-r--r-- | rust/rust.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/rust.go b/rust/rust.go index 54b22853c..b69786976 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -1046,9 +1046,9 @@ func (mod *Module) Name() string { return name } -func (mod *Module) setClippy(clippy bool) { +func (mod *Module) disableClippy() { if mod.clippy != nil { - mod.clippy.Properties.Clippy = proptools.BoolPtr(clippy) + mod.clippy.Properties.Clippy_lints = proptools.StringPtr("none") } } |