We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cb9a8a commit 5c08568Copy full SHA for 5c08568
src/name_resolver.rs
@@ -34,7 +34,7 @@ impl<'a, T: AsRef<str>> NameResolver<'a, T> {
34
.lookup_token(source_position.line, source_position.column)?;
35
36
let is_exactish_match = token.get_dst_line() == source_position.line
37
- && token.get_dst_col() >= source_position.column - 1;
+ && token.get_dst_col() >= source_position.column.saturating_sub(1);
38
39
if is_exactish_match {
40
token.get_name()
0 commit comments