mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-30 16:43:41 +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
|
||||
//! 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
|
||||
//! 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.
|
||||
//!
|
||||
//! # Common Message Styles
|
||||
|
Loading…
Reference in New Issue
Block a user