]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/error.rs
Format libstd/sys with rustfmt
[rust.git] / src / libstd / error.rs
index 74a9e7c9e331f64cc3bd6ac2de3b9466d8b12485..ec1c444bcf8c80fee608b20ed02fd2a312789c3a 100644 (file)
@@ -206,7 +206,7 @@ fn type_id(&self, _: private::Internal) -> TypeId where Self: 'static {
         TypeId::of::<Self>()
     }
 
-    /// Returns a stack backtrace, if available, of where this error ocurred.
+    /// Returns a stack backtrace, if available, of where this error occurred.
     ///
     /// This function allows inspecting the location, in code, of where an error
     /// happened. The returned `Backtrace` contains information about the stack