camino-rs / camino

Like Rust's std::path::Path, but UTF-8.
https://docs.rs/camino
Apache License 2.0
435 stars 16 forks source link

Implement `DerefMut` for `Utf8PathBuf` #58

Closed ldm0 closed 1 year ago

ldm0 commented 1 year ago

fixes #57

sunshowers commented 1 year ago

Thanks for the submission! Unfortunately I don't think this is correct: you can't have a &T at any step and then turn it into a &mut T.

I'll try fixing this, and also adding a miri check to ensure that it is correct.

sunshowers commented 1 year ago

Going to close this in favor of https://github.com/camino-rs/camino/pull/59. Thanks again!