Skip to content

Commit 2b4ffa7

Browse files
committed
fix broken link
1 parent b42d648 commit 2b4ffa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/io/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl fmt::Debug for Error {
7979
#[cfg(not(bootstrap))]
8080
#[stable(feature = "rust1", since = "1.0.0")]
8181
impl From<alloc::ffi::NulError> for Error {
82-
/// Converts a [`alloc::ffi::NulError`] into a [`io::Error`].
82+
/// Converts a [`alloc::ffi::NulError`] into a [`Error`].
8383
fn from(_: alloc::ffi::NulError) -> Error {
8484
const_io_error!(ErrorKind::InvalidInput, "data provided contains a nul byte")
8585
}

0 commit comments

Comments
 (0)