about summary refs log tree commit diff
path: root/library/std/src/path.rs
AgeCommit message (Collapse)AuthorLines
2020-08-10Rollup merge of #75286 - pickfire:patch-9, r=jyn514Yuki Okushi-1/+5
Add additional case for Path starts with Show what happens if there is an extra extension
2020-08-10show multiple slashes starts_with Path exampleIvan Tham-1/+2
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-08-09Auto merge of #75293 - poliorcetics:intra-doc-links-std-path, r=jyn514bors-151/+45
Move to intra-doc links in library/std/src/path.rs Helps with #75080. @rustbot modify labels: T-doc, A-intra-doc-links, T-rustdoc Known issue: The following links are broken (they are inside trait impls, undocumented in this file, inheriting from the original doc): - [`Hasher`] - [`Self`] (referencing `../primitive.slice.html`) - [`Ordering`]
2020-08-09Rollup merge of #75289 - pickfire:patch-12, r=jonas-schievinkYuki Okushi-2/+2
Remove ambiguity from PathBuf pop example
2020-08-09Rollup merge of #75288 - pickfire:patch-11, r=jonas-schievinkYuki Okushi-1/+1
Use assert! for Path exists example to check bool
2020-08-09Rollup merge of #75287 - pickfire:patch-10, r=jonas-schievinkYuki Okushi-0/+2
Show Path extension example change multi extension
2020-08-09Rollup merge of #75285 - pickfire:patch-8, r=jonas-schievinkYuki Okushi-2/+3
Separate example for Path strip_prefix
2020-08-09Rollup merge of #75284 - pickfire:patch-7, r=LukasKalbertodtYuki Okushi-0/+7
Show relative example for Path ancestors
2020-08-08Move to intra-doc links in library/std/src/path.rsAlexis Bourget-151/+45
2020-08-08Remove abmiguity from PathBuf pop exampleIvan Tham-2/+2
2020-08-08Use assert! for Path exists example to check boolIvan Tham-1/+1
2020-08-08Show Path extension example change multi extensionIvan Tham-0/+2
2020-08-08Add additonal case for Path starts withIvan Tham-1/+4
Show what happens if there is an extra extension
2020-08-08Separate example for Path strip_prefixIvan Tham-2/+3
2020-08-08Show relative example for Path ancestorsIvan Tham-0/+7
2020-08-08Show multi extension example for Path in doctestsIvan Tham-6/+4
2020-08-07Add more examples to Path ends_withIvan Tham-0/+5
We faced a footgun when using ends_with to check extension, showing an example could prevent that.
2020-07-27mv std libs to library/mark-0/+4230