]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/error.rs
Rollup merge of #97216 - RalfJung:null-ptr-check, r=oli-obk
[rust.git] / library / std / src / error.rs
index c2d30616019c718899ef692f0eb2bb8218cb2fa2..87f213b160830a22301e6fd192409ea965625973 100644 (file)
@@ -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