add comment to impl !Error for &str
This commit is contained in:
parent
789ee5e433
commit
bdb0c7f427
@ -2655,5 +2655,6 @@ impl_fn_for_zst! {
|
||||
};
|
||||
}
|
||||
|
||||
// This is required to make `impl From<&str> for Box<dyn Error>` and `impl<E> From<E> for Box<dyn Error>` not overlap.
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
impl !crate::error::Error for &str {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user