]> git.lizzy.rs Git - rust.git/commitdiff
Fix a typo in the docs
authorOliver Schneider <oli-obk@users.noreply.github.com>
Tue, 7 Mar 2017 09:45:13 +0000 (10:45 +0100)
committerGitHub <noreply@github.com>
Tue, 7 Mar 2017 09:45:13 +0000 (10:45 +0100)
src/librustc/ty/mod.rs

index d7efee06db2b56bb85f17180d3534c80a545094f..be04b0e6577f054033e650bf15cf209008f25a77 100644 (file)
@@ -1286,7 +1286,7 @@ pub struct Destructor {
     /// invoked even when there are lifetimes in the type-structure of
     /// `adt` that do not strictly outlive the adt value itself.
     /// (This allows programs to make cyclic structures without
-    /// resorting to unasfe means; see RFCs 769 and 1238).
+    /// resorting to unsafe means; see RFCs 769 and 1238).
     pub is_dtorck: bool,
 }