about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorOliver Schneider <oli-obk@users.noreply.github.com>2017-03-07 10:45:13 +0100
committerGitHub <noreply@github.com>2017-03-07 10:45:13 +0100
commitacd8fe8fe875d51ea4fa723f1e73819a56bfec8a (patch)
tree30fdaf3bec24e931d146c3687b80f3b0289acc8b /src
parentb04ebef43242ade6be8968694caf56a0fb00a4d3 (diff)
downloadrust-acd8fe8fe875d51ea4fa723f1e73819a56bfec8a.tar.gz
rust-acd8fe8fe875d51ea4fa723f1e73819a56bfec8a.zip
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,
 }