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
kennytm committed Dec 22, 2018
2 parents 5e727a4 + 8c40aed commit e4430e0
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 e4430e0

Please sign in to comment.