Fixed typos in code comments
This commit is contained in:
@@ -63,7 +63,7 @@ pub fn extract_offset(text: &str) -> (TextSize, String) {
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns the offset of the first occurence of `$0` marker and the copy of `text`
|
||||
/// Returns the offset of the first occurrence of `$0` marker and the copy of `text`
|
||||
/// without the marker.
|
||||
fn try_extract_offset(text: &str) -> Option<(TextSize, String)> {
|
||||
let cursor_pos = text.find(CURSOR_MARKER)?;
|
||||
|
||||
Reference in New Issue
Block a user