2019-04-13 16:47:46 +00:00
|
|
|
use std::path::PathBuf;
|
|
|
|
|
2023-10-23 14:11:21 +00:00
|
|
|
#[warn(clippy::path_buf_push_overwrite)]
|
|
|
|
#[allow(clippy::pathbuf_init_then_push)]
|
2019-04-13 16:47:46 +00:00
|
|
|
fn main() {
|
|
|
|
let mut x = PathBuf::from("/foo");
|
|
|
|
x.push("bar");
|
|
|
|
}
|