Skip to content

Commit 3bd032e

Browse files
committed
PR feedback
1 parent 3e39c7a commit 3bd032e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

std/src/io/error.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ impl Error {
511511
/// let eof_error = Error::from(ErrorKind::UnexpectedEof);
512512
/// ```
513513
#[stable(feature = "rust1", since = "1.0.0")]
514+
#[inline(never)]
514515
pub fn new<E>(kind: ErrorKind, error: E) -> Error
515516
where
516517
E: Into<Box<dyn error::Error + Send + Sync>>,

0 commit comments

Comments
 (0)