We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0b1c0ee + 5da245e commit 5ebfd24Copy full SHA for 5ebfd24
crates/ra_syntax/src/lexer/ptr.rs
@@ -28,7 +28,7 @@ impl<'s> Ptr<'s> {
28
}
29
30
/// Gets the nth character from the current.
31
- /// 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.
32
pub fn nth(&self, n: u32) -> Option<char> {
33
self.chars().nth(n as usize)
34
0 commit comments