about summary refs log tree commit diff
path: root/src/libstd/path.rs
AgeCommit message (Collapse)AuthorLines
2017-03-17Auto merge of #40598 - frewsxcv:rollup, r=frewsxcvbors-16/+16
Rollup of 23 pull requests - Successful merges: #40387, #40433, #40452, #40456, #40457, #40458, #40463, #40466, #40467, #40495, #40496, #40497, #40499, #40500, #40503, #40505, #40512, #40514, #40517, #40520, #40536, #40545, #40586 - Failed merges:
2017-03-17Rollup merge of #40456 - frewsxcv:frewsxcv-docs-function-parens, ↵Corey Farwell-16/+16
r=GuillaumeGomez Remove function invokation parens from documentation links. This was never established as a convention we should follow in the 'More API Documentation Conventions' RFC: https://github.com/rust-lang/rfcs/blob/master/text/1574-more-api-documentation-conventions.md
2017-03-15Removes Default for Box<Path>.Clar Charr-14/+0
2017-03-13Remove function invokation parens from documentation links.Corey Farwell-16/+16
This was never established as a convention we should follow in the 'More API Documentation Conventions' RFC: https://github.com/rust-lang/rfcs/blob/master/text/1574-more-api-documentation-conventions.md
2017-03-10Add From<Box<..>> implementations.Clar Charr-7/+27
2017-02-14Conversions between CStr/OsStr/Path and boxes.Clar Charr-0/+40
2017-02-07Rollup merge of #38764 - Aaronepower:master, r=aturonCorey Farwell-0/+7
Added Default impl to PathBuf
2017-01-14Auto merge of #38935 - redox-os:fix_path_redox, r=brsonbors-1/+2
Fix is_absolute on Redox Due to not using prefixes on Redox, yet, it must be added as an exception to Path::is_absolute.
2017-01-13Fix is_absolute on RedoxJeremy Soller-1/+2
2017-01-13Rollup merge of #38946 - GuillaumeGomez:path_doc, r=frewsxcvGuillaume Gomez-22/+95
Add missing links and examples for path modules and structs r? @frewsxcv
2017-01-11Add missing links and examples for path modules and structsGuillaume Gomez-22/+95
2017-01-05Expand {Path,OsStr}::{to_str,to_string_lossy} doc examples.Corey Farwell-4/+9
2017-01-01Added Default impl to PathBufAaron Power-0/+7
2016-12-02Add Component examplesGuillaume Gomez-1/+11
2016-11-27Auto merge of #38019 - sourcefrog:doc-separator, r=frewsxcvbors-1/+3
Clearer description of std::path::MAIN_SEPARATOR.
2016-11-26Clearer description of std::path::MAIN_SEPARATOR.Martin Pool-1/+3
2016-11-14Update top-level path doc examples to show results.Corey Farwell-5/+18
2016-11-13Minor rewriting of `std::path::Path::push` doc example.Corey Farwell-5/+12
2016-11-05Rollup merge of #37585 - leodasvacas:change_into_to_from, r=alexcrichtonAlex Crichton-7/+7
Change `Into<Vec<u8>> for String` and `Into<OsString> for PathBuf` to From Fixes #37561. First contribution, happy with any and all feedback!
2016-11-04Change Into<Vec<u8>> for String and Into<OsString> for PathBuf to From implsleonardo.yvens-7/+7
2016-11-01Rollup merge of #37316 - ollie27:docs_links, r=GuillaumeGomezGuillaume Gomez-0/+1
Fix a few links in the docs r? @steveklabnik
2016-10-24Link to PathBuf from the Path docsDuncan-3/+7
2016-10-21Fix a few links in the docsOliver Middleton-0/+1
2016-10-03Auto merge of #36815 - alexcrichton:stabilize-1.13, r=aturonbors-2/+3
std: Stabilize and deprecate APIs for 1.13 This commit is intended to be backported to the 1.13 branch, and works with the following APIs: Stabilized * `i32::checked_abs` * `i32::wrapping_abs` * `i32::overflowing_abs` * `RefCell::try_borrow` * `RefCell::try_borrow_mut` Deprecated * `BinaryHeap::push_pop` * `BinaryHeap::replace` * `SipHash13` * `SipHash24` * `SipHasher` - use `DefaultHasher` instead in the `std::collections::hash_map` module Closes #28147 Closes #34767 Closes #35057 Closes #35070
2016-10-03std: Stabilize and deprecate APIs for 1.13Alex Crichton-2/+3
This commit is intended to be backported to the 1.13 branch, and works with the following APIs: Stabilized * `i32::checked_abs` * `i32::wrapping_abs` * `i32::overflowing_abs` * `RefCell::try_borrow` * `RefCell::try_borrow_mut` * `DefaultHasher` * `DefaultHasher::new` * `DefaultHasher::default` Deprecated * `BinaryHeap::push_pop` * `BinaryHeap::replace` * `SipHash13` * `SipHash24` * `SipHasher` - use `DefaultHasher` instead in the `std::collections::hash_map` module Closes #28147 Closes #34767 Closes #35057 Closes #35070
2016-10-01std: Move platform specific path code into sysBrian Anderson-126/+2
2016-09-10Rollup merge of #36314 - tshepang:not-needed, r=GuillaumeGomezGuillaume Gomez-2/+2
doc: we got coercion going on here, so no need to be this explicit
2016-09-07doc: we got coercion going on here, so no need to be this explicitTshepang Lekhonkhobe-2/+2
2016-09-04Replace `_, _` with `..`Vadim Petrochenkov-1/+1
2016-08-31Rollup merge of #35786 - GuillaumeGomez:paths_doc, r=steveklabnikJonathan Turner-32/+144
Improve Path and PathBuf docs r? @steveklabnik
2016-08-31Improve Path and PathBuf docsGuillaume Gomez-32/+144
2016-08-30Implement `Debug` for `std::path::Iter`.Corey Farwell-0/+41
2016-08-30Implement `Debug` for `std::path::Components`.Corey Farwell-0/+40
2016-08-24Use `#[prelude_import]` in `libstd`.Jeffrey Seyfried-5/+1
2016-08-18Add a FusedIterator trait.Steven Allen-1/+7
This trait can be used to avoid the overhead of a fuse wrapper when an iterator is already well-behaved. Conforming to: RFC 1581 Closes: #35602
2016-07-06Fix `std::path::Path::file_name()` docggomez-2/+12
2016-07-04Auto merge of #34590 - pwlandoll:master, r=apasel422bors-2/+1
Issue #34076: Removing reference to removed path.prefix() function In the documentation for `std::path::Path`, there is a [reference](https://doc.rust-lang.org/std/path/struct.Path.html#method.is_absolute) to the `path.prefix()` function which has since been removed. The offending reference is now also removed. First pull request, feedback welcome! r? @steveklabnik
2016-06-30Issue #34076: Removing reference to removed path.prefix() functionPeter Landoll-2/+1
2016-06-30remove unneeded allow flagSteve Klabnik-1/+0
There isn't anything deprecated being used in this function.
2016-06-28Rollup merge of #34475 - frewsxcv:path-component, r=GuillaumeGomezGuillaume Gomez-0/+20
Expand `std::path::Component` documentation. Indicate how it gets created and add an example.
2016-06-26Expand `std::path::Component` documentation.Corey Farwell-0/+20
Indicate how it gets created and add an example.
2016-06-25Auto merge of #34469 - frewsxcv:path-components, r=GuillaumeGomezbors-0/+4
Indicate how the `std::path::Components` struct is created. None
2016-06-25Indicate how the `std::path::Components` struct is created.Corey Farwell-0/+4
2016-06-25Add hyperlinks to `std::fs` functions from `std::path`.Corey Farwell-5/+15
2016-04-10Fix Windows UNC paths in std::path docsjethrogb-2/+2
2016-03-12std: Clean out deprecated APIsAlex Crichton-69/+2
Removes all unstable and deprecated APIs prior to the 1.8 release. All APIs that are deprecated in the 1.8 release are sticking around for the rest of this cycle. Some notable changes are: * The `dynamic_lib` module was moved into `rustc_back` as the compiler still relies on a few bits and pieces. * The `DebugTuple` formatter now special-cases an empty struct name with only one field to append a trailing comma.
2016-02-26fixup #31878Manish Goregaokar-1/+1
2016-02-24Prefer 'match' pattern guard over conditional within body.Corey Farwell-5/+2
2016-02-24Prefer `slice::get` over length check with indexing.Corey Farwell-1/+1
2016-02-24Auto merge of #31778 - aturon:snapshot, r=alexcrichtonbors-10/+10
r? @alexcrichton