nushell / reedline

A feature-rich line editor - powering Nushell
https://docs.rs/reedline/
MIT License
551 stars 155 forks source link

Fix `OpenOptions` clippy #776

Closed sholderbach closed 8 months ago

sholderbach commented 8 months ago

truncate(false) is the right choice as we manually truncate later. (we want to read from the same handle first and then write, to use the advisory lock)