feat(api): Add append
option to writeFile apis
#762
Annotations
2 errors
called `map(..).flatten()` on `Option`:
core/tauri/src/endpoints/file_system.rs#L176
error: called `map(..).flatten()` on `Option`
--> core/tauri/src/endpoints/file_system.rs:176:8
|
176 | .map(|opt| opt.append)
| ________^
177 | | .flatten()
| |________________^ help: try replacing `map` with `and_then` and remove the `.flatten()`: `and_then(|opt| opt.append)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_flatten
= note: `-D clippy::map-flatten` implied by `-D warnings`
|
called `map(..).flatten()` on `Option`:
core/tauri/src/endpoints/file_system.rs#L176
error: called `map(..).flatten()` on `Option`
--> core/tauri/src/endpoints/file_system.rs:176:8
|
176 | .map(|opt| opt.append)
| ________^
177 | | .flatten()
| |________________^ help: try replacing `map` with `and_then` and remove the `.flatten()`: `and_then(|opt| opt.append)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_flatten
= note: `-D clippy::map-flatten` implied by `-D warnings`
|