2019-04-13 11:47:46 -05:00
|
|
|
use std::path::PathBuf;
|
|
|
|
|
2024-07-25 11:29:17 -05:00
|
|
|
#[warn(clippy::path_buf_push_overwrite)]
|
|
|
|
#[allow(clippy::pathbuf_init_then_push)]
|
2019-04-13 11:47:46 -05:00
|
|
|
fn main() {
|
|
|
|
let mut x = PathBuf::from("/foo");
|
|
|
|
x.push("/bar");
|
|
|
|
}
|