mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 13:06:28 +03:00
ec276c7e67
add comment to `impl !Error for &str` I saw this impl in the [standard library docs](https://doc.rust-lang.org/nightly/core/error/trait.Error.html#impl-Error-for-%26str) and wondered why it's needed. This commit adds a comment to explain its existence.