Skip to content

Commit

Permalink
Rollup merge of rust-lang#57040 - otavio:topic/adjust-path_from_str-f…
Browse files Browse the repository at this point in the history
…eature-gate, r=Centril

Fix feature gate to point to 1.32.0 for `path_from_str`

When the feature has been added back (rust-lang#55148) the feature gate has not
been adjusted accordingly. We have it enabled for 1.32.0, currently in
Beta, so adjust it.

Refs: rust-lang#44431.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
  • Loading branch information
Centril authored Dec 22, 2018
2 parents bff1363 + 8c40aed commit 87a0202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1461,7 +1461,7 @@ impl From<String> for PathBuf {
}
}

#[stable(feature = "path_from_str", since = "1.26.0")]
#[stable(feature = "path_from_str", since = "1.32.0")]
impl FromStr for PathBuf {
type Err = ParseError;

Expand Down

0 comments on commit 87a0202

Please sign in to comment.