Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion library/core/src/num/nonzero.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1412,7 +1412,8 @@ macro_rules! nonzero_integer {
}

#[stable(feature = "nonzero_parse", since = "1.35.0")]
impl FromStr for NonZero<$Int> {
#[rustc_const_unstable(feature = "const_convert", issue = "143773")]
const impl FromStr for NonZero<$Int> {
type Err = ParseIntError;

/// Parses a non-zero integer from a string slice with decimal digits.
Expand Down
Loading