mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
18 lines
614 B
Text
18 lines
614 B
Text
|
error: unnecessary use of `.write(true)` because there is `.append(true)`
|
||
|
--> $DIR/ineffective_open_options.rs:8:9
|
||
|
|
|
||
|
LL | .write(true)
|
||
|
| ^^^^^^^^^^^^ help: remove `.write(true)`
|
||
|
|
|
||
|
= note: `-D clippy::ineffective-open-options` implied by `-D warnings`
|
||
|
= help: to override `-D warnings` add `#[allow(clippy::ineffective_open_options)]`
|
||
|
|
||
|
error: unnecessary use of `.write(true)` because there is `.append(true)`
|
||
|
--> $DIR/ineffective_open_options.rs:16:9
|
||
|
|
|
||
|
LL | .write(true)
|
||
|
| ^^^^^^^^^^^^ help: remove `.write(true)`
|
||
|
|
||
|
error: aborting due to 2 previous errors
|
||
|
|