mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-07 04:23:30 +00:00
Auto merge of #97514 - WaffleLapkin:panick, r=Dylan-DPC
Fix typo (panick -> panic) Fix typo (panick -> panic) in `std::error` module docs.
This commit is contained in:
commit
28b891916d
@ -52,7 +52,7 @@
|
|||||||
//! to convey your intent and assumptions which makes tracking down the source
|
//! to convey your intent and assumptions which makes tracking down the source
|
||||||
//! of a panic easier. `unwrap` on the other hand can still be a good fit in
|
//! of a panic easier. `unwrap` on the other hand can still be a good fit in
|
||||||
//! situations where you can trivially show that a piece of code will never
|
//! situations where you can trivially show that a piece of code will never
|
||||||
//! panick, such as `"127.0.0.1".parse::<std::net::IpAddr>().unwrap()` or early
|
//! panic, such as `"127.0.0.1".parse::<std::net::IpAddr>().unwrap()` or early
|
||||||
//! prototyping.
|
//! prototyping.
|
||||||
//!
|
//!
|
||||||
//! # Common Message Styles
|
//! # Common Message Styles
|
||||||
|
Loading…
Reference in New Issue
Block a user