about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <arielb1@mail.tau.ac.il>2017-03-08 20:54:02 +0200
committerGitHub <noreply@github.com>2017-03-08 20:54:02 +0200
commit75262cb1f30e4e3dca21632755a2a99d38330c2a (patch)
tree8908208b5372a7118dd0599f502e9cc6450d072f /src
parent37faa60d8e1a8e10e9d3bb78e70e74434f600bc7 (diff)
parentacd8fe8fe875d51ea4fa723f1e73819a56bfec8a (diff)
downloadrust-75262cb1f30e4e3dca21632755a2a99d38330c2a.tar.gz
rust-75262cb1f30e4e3dca21632755a2a99d38330c2a.zip
Rollup merge of #40316 - oli-obk:patch-4, r=GuillaumeGomez
Fix a typo in the docs
Diffstat (limited to 'src')
-rw-r--r--src/librustc/ty/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/ty/mod.rs b/src/librustc/ty/mod.rs
index d7efee06db2..be04b0e6577 100644
--- a/src/librustc/ty/mod.rs
+++ b/src/librustc/ty/mod.rs
@@ -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,
 }