mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 14:13:58 +00:00
Fix CI 3
This commit is contained in:
parent
28c7fa8dc6
commit
255cde788b
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ fn check_pass_and_stdio(ra_fixture: &str, expected_stdout: &str, expected_stderr
|
|||
let mut err = String::new();
|
||||
let line_index = |size: TextSize| {
|
||||
let mut size = u32::from(size) as usize;
|
||||
let mut lines = ra_fixture.lines().enumerate();
|
||||
let lines = ra_fixture.lines().enumerate();
|
||||
for (i, l) in lines {
|
||||
if let Some(x) = size.checked_sub(l.len()) {
|
||||
size = x;
|
||||
|
|
Loading…
Reference in a new issue