about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorJoseph Crail <jbcrail@gmail.com>2015-05-04 13:21:27 -0400
committerJoseph Crail <jbcrail@gmail.com>2015-05-04 13:21:27 -0400
commit464069a4bfff2e94cb91c6cc5f0da40bba086bc4 (patch)
tree06e9334d36c5e4accf6452d1ec45f7d3feeecbac /src/libsyntax
parenta979efc2f961c2cf8d7afa57b905e73349b8f476 (diff)
downloadrust-464069a4bfff2e94cb91c6cc5f0da40bba086bc4.tar.gz
rust-464069a4bfff2e94cb91c6cc5f0da40bba086bc4.zip
Fix spelling errors in documentation.
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs
index 3b7bfb1043a..e00cb82649b 100644
--- a/src/libsyntax/ast.rs
+++ b/src/libsyntax/ast.rs
@@ -595,7 +595,7 @@ pub enum Pat_ {
 
     /// An associated const named using the qualified path `<T>::CONST` or
     /// `<T as Trait>::CONST`. Associated consts from inherent impls can be
-    /// refered to as simply `T::CONST`, in which case they will end up as
+    /// referred to as simply `T::CONST`, in which case they will end up as
     /// PatEnum, and the resolver will have to sort that out.
     PatQPath(QSelf, Path),