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 6b907d1 commit 73e1188Copy full SHA for 73e1188
.github/workflows/ci.yml
@@ -21,7 +21,7 @@ jobs:
21
strategy:
22
fail-fast: false
23
matrix:
24
- os: ["ubuntu-latest", "macos-latest", "windows-latest"]
+ os: ["windows-latest"]
25
rust: ["stable", "1.83"]
26
flags: ["", "--all-features"]
27
exclude:
crates/compilers/src/lib.rs
@@ -915,7 +915,7 @@ fn replace_source_content<'a>(
915
let end = (range.end as isize + offset) as usize;
916
917
content.splice(start..end, new_value.bytes());
918
- offset += new_value.len() as isize - (end - start) as isize;
+ offset += new_value.chars().count() as isize - (end - start) as isize;
919
}
920
921
String::from_utf8(content).unwrap()
0 commit comments