Skip to content

Commit d1a9802

Browse files
committed
Auto merge of rust-lang#97514 - WaffleLapkin:panick, r=Dylan-DPC
Fix typo (panick -> panic) Fix typo (panick -> panic) in `std::error` module docs.
2 parents 5026e8c + 6c1288f commit d1a9802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
//! to convey your intent and assumptions which makes tracking down the source
5353
//! of a panic easier. `unwrap` on the other hand can still be a good fit in
5454
//! situations where you can trivially show that a piece of code will never
55-
//! panick, such as `"127.0.0.1".parse::<std::net::IpAddr>().unwrap()` or early
55+
//! panic, such as `"127.0.0.1".parse::<std::net::IpAddr>().unwrap()` or early
5656
//! prototyping.
5757
//!
5858
//! # Common Message Styles

0 commit comments

Comments
 (0)