Skip to content

Commit 9e79eb1

Browse files
committed
Remove duplicate ParseError definition.
1 parent 5e85ae9 commit 9e79eb1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

library/alloc/src/string/string.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2633,14 +2633,6 @@ impl<A: Allocator> ops::DerefMut for String<A> {
26332633
}
26342634
}
26352635

2636-
/// A type alias for [`Infallible`].
2637-
///
2638-
/// This alias exists for backwards compatibility, and may be eventually deprecated.
2639-
///
2640-
/// [`Infallible`]: core::convert::Infallible "convert::Infallible"
2641-
#[stable(feature = "str_parse_error", since = "1.5.0")]
2642-
pub type ParseError = core::convert::Infallible;
2643-
26442636
#[cfg(not(no_global_oom_handling))]
26452637
#[stable(feature = "rust1", since = "1.0.0")]
26462638
impl FromStr for String {

0 commit comments

Comments
 (0)