PR feedback
This commit is contained in:
@@ -511,6 +511,7 @@ impl Error {
|
||||
/// let eof_error = Error::from(ErrorKind::UnexpectedEof);
|
||||
/// ```
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[inline(never)]
|
||||
pub fn new<E>(kind: ErrorKind, error: E) -> Error
|
||||
where
|
||||
E: Into<Box<dyn error::Error + Send + Sync>>,
|
||||
|
||||
Reference in New Issue
Block a user