diff --git a/crates/ide/src/lib.rs b/crates/ide/src/lib.rs
index bd09cb11ec05..7c778e52ca92 100644
--- a/crates/ide/src/lib.rs
+++ b/crates/ide/src/lib.rs
@@ -385,7 +385,10 @@ impl Analysis {
/// Returns position of the matching brace (all types of braces are
/// supported).
- pub fn matching_brace(&self, position: FilePosition) -> Cancellable