about summary refs log tree commit diff
path: root/library/std/src/path.rs
AgeCommit message (Expand)AuthorLines
2024-06-04impl OsString::leak & PathBuf::leakschvv31n-0/+19
2024-05-26Auto merge of #125070 - tbu-:pr_set_extension_panic, r=jhprattbors-0/+13
2024-05-21Small fixes to `std::path::absolute` docsTobias Bucher-3/+6
2024-05-13Panic if `PathBuf::set_extension` would add a path separatorTobias Bucher-0/+13
2024-05-01Replace version placeholders for 1.79Mark Rousskov-1/+1
2024-04-26PathBuf: replace transmuting by accessor functionsRalf Jung-7/+1
2024-04-24Stabilize `std::path::absolute`Chris Denton-3/+1
2024-04-17Rollup merge of #122201 - coolreader18:doc-clone_from, r=dtolnayMatthias Krüger-0/+4
2024-04-10Rework Path::ancestors documentation to remove unwrapsKriskras99-4/+3
2024-04-10Bring documentation of Path::to_path_buf in line with the rest of Path/PathBufKriskras99-2/+2
2024-03-08Document overrides of `clone_from()`Noa-0/+4
2024-02-28Rollup merge of #120051 - riverbl:os-str-display, r=m-ou-seGuillaume Gomez-5/+5
2024-02-22Add `rustc_confusables` annotations to some stdlib APIsEsteban Küber-0/+1
2024-01-18Add `display` method to `OsStr`riverbl-5/+5
2023-09-01fix(std): Rename os_str_bytes to encoded_bytesEd Page-17/+17
2023-08-14actually this doesn't even affect doctests. nice.Ralf Jung-12/+6
2023-08-14std: add some missing repr(transparent)Ralf Jung-0/+6
2023-06-27std: remove an allocation in `Path::with_extension`João M. Bezerra-3/+21
2023-05-13refactor: Remove bespoke from_os_str_bytes_uncheckedEd Page-20/+16
2023-05-13refactor: Remove redundant, private OsStr::bytesEd Page-8/+8
2023-05-15Mark internal functions and traits unsafeLegionMammal978-4/+7
2023-05-08Auto merge of #106621 - ozkanonur:enable-elided-lifetimes-for-doctests, r=Mar...bors-1/+1
2023-05-07enable `rust_2018_idioms` for doctestsozkanonur-1/+1
2023-05-01Rollup merge of #109540 - marcospb19:edit-Path-with_file_name-example, r=m-ou-seMatthias Krüger-5/+11
2023-04-28replace version placeholdersPietro Albini-2/+2
2023-04-26Rollup merge of #110266 - tgross35:try-exists-wording, r=jyn514jyn-3/+5
2023-04-14edit docs of `PathBuf::set_file_name`João M. Bezerra-5/+11
2023-04-13Update documentation wording on path 'try_exists' functionsTrevor Gross-3/+5
2023-04-12remove some unneeded importsKaDiWa-21/+21
2023-03-10Rollup merge of #105962 - zertosh:stabilize_path_as_mut_os_str, r=dtolnayMatthias Krüger-4/+2
2023-01-31Auto merge of #107297 - Mark-Simulacrum:bump-bootstrap, r=pietroalbinibors-2/+2
2023-01-31fix link in std::path::Path::display()Lucius Hu-0/+1
2023-01-25Set version placeholders to 1.68Mark Rousskov-2/+2
2023-01-20add example of joining with a absolute pathValdemar Erk-0/+1
2023-01-20Add note about absolute paths to Path::joinValdemar Erk-0/+2
2023-01-14Remove various double spaces in source comments.André Vennberg-1/+1
2023-01-12Stop having unused lifetimes on some `impl`sScott McMurray-29/+29
2023-01-08Rollup merge of #103104 - SUPERCILEX:sep-ref, r=dtolnayYuki Okushi-1/+1
2023-01-02Rollup merge of #104298 - tbu-:pr_set_extension_caveats, r=m-ou-seMichael Goulet-3/+30
2022-12-31Rollup merge of #106280 - Ezrashaw:path-join-docs-better, r=thomccMatthias Krüger-0/+3
2022-12-31Add notes and examples about non-intuitive `PathBuf::set_extension` behaviorTobias Bucher-3/+30
2022-12-30Replace libstd, libcore, liballoc in line comments.jonathanCogan-1/+1
2022-12-30docs: add link to `Path::join` in `PathBuf::push`Ezra Shaw-0/+3
2022-12-20Stabilize path_as_mut_os_strAndres Suarez-4/+2
2022-12-16Realistic `Path::as_mut_os_str` doctestAndres Suarez-3/+3
2022-12-16Auto merge of #105018 - zertosh:path_buf_deref_mut, r=dtolnaybors-0/+14
2022-11-28Add `as_mut_os_string` to `&mut PathBuf` and `as_mut_os_str` to `&mut Path`Andres Suarez-0/+46
2022-11-28Implement DerefMut for PathBufAndres Suarez-0/+14
2022-11-11Document `Path::parent` behavior around relative pathsTobias Bucher-1/+12
2022-10-15Stabilize `main_separator_str`Alex Saveau-1/+1