From 5da245ec33b44c69dc8dcedb6edd91d83452a0d4 Mon Sep 17 00:00:00 2001 From: DJMcNab <36049421+DJMcNab@users.noreply.github.com> Date: Wed, 5 Dec 2018 21:46:43 +0000 Subject: Fix a copy and pasting typo --- crates/ra_syntax/src/lexer/ptr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/ra_syntax/src/lexer/ptr.rs b/crates/ra_syntax/src/lexer/ptr.rs index 7e4df51aa..0a473c991 100644 --- a/crates/ra_syntax/src/lexer/ptr.rs +++ b/crates/ra_syntax/src/lexer/ptr.rs @@ -28,7 +28,7 @@ impl<'s> Ptr<'s> { } /// Gets the nth character from the current. - /// For example, 0 will return the current token, 1 will return the next, etc. + /// For example, 0 will return the current character, 1 will return the next, etc. pub fn nth(&self, n: u32) -> Option { self.chars().nth(n as usize) } -- cgit v1.2.3