about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdam Perry <adam.n.perry@gmail.com>2016-10-05 20:34:11 -0700
committerAdam Perry <adam.n.perry@gmail.com>2016-10-05 20:34:11 -0700
commit9aa7f47fcc2d9f58c684aa5cbbd97ec873510990 (patch)
tree48360fbbb8a475ea2ff8f050afe1c5579dac2a3c
parent26d8b6f762a5d2ebd2939cb8e7fe4bea949350f4 (diff)
downloadrust-9aa7f47fcc2d9f58c684aa5cbbd97ec873510990.tar.gz
rust-9aa7f47fcc2d9f58c684aa5cbbd97ec873510990.zip
Fixing comment typo.
-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 8e330ee8e82..4b493c96826 100644
--- a/src/librustc/ty/mod.rs
+++ b/src/librustc/ty/mod.rs
@@ -521,7 +521,7 @@ pub type Ty<'tcx> = &'tcx TyS<'tcx>;
 impl<'tcx> serialize::UseSpecializedEncodable for Ty<'tcx> {}
 impl<'tcx> serialize::UseSpecializedDecodable for Ty<'tcx> {}
 
-/// A wrapper for slices with the additioanl invariant
+/// A wrapper for slices with the additional invariant
 /// that the slice is interned and no other slice with
 /// the same contents can exist in the same context.
 /// This means we can use pointer + length for both