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 48df36d commit 743ff47Copy full SHA for 743ff47
crates/compilers/src/lib.rs
@@ -905,7 +905,7 @@ pub fn apply_updates(sources: &mut Sources, updates: Updates) {
905
906
/// Utility function to change source content ranges with provided updates.
907
/// Assumes that the updates are sorted.
908
-pub fn replace_source_content<'a>(
+pub fn replace_source_content(
909
source: impl Into<String>,
910
updates: impl IntoIterator<Item = (Range<usize>, impl AsRef<str>)>,
911
) -> String {
0 commit comments