Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/lib.rs')
-rw-r--r--crates/ide/src/lib.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/crates/ide/src/lib.rs b/crates/ide/src/lib.rs
index 043e854215..346e2862b0 100644
--- a/crates/ide/src/lib.rs
+++ b/crates/ide/src/lib.rs
@@ -404,17 +404,11 @@ impl Analysis {
&self,
position: FilePosition,
char_typed: char,
- chars_to_exclude: Option<String>,
) -> Cancellable<Option<SourceChange>> {
// Fast path to not even parse the file.
if !typing::TRIGGER_CHARS.contains(char_typed) {
return Ok(None);
}
- if let Some(chars_to_exclude) = chars_to_exclude {
- if chars_to_exclude.contains(char_typed) {
- return Ok(None);
- }
- }
self.with_db(|db| typing::on_char_typed(db, position, char_typed))
}