agent_ui: Fix redundant check after #51953 (#51956)

Bennet Bo Fenner and Marshall Bowers created

Follow up to #51953

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <git@maxdeviant.com>

Change summary

crates/agent_ui/src/completion_provider.rs | 10 ----------
1 file changed, 10 deletions(-)

Detailed changes

crates/agent_ui/src/completion_provider.rs 🔗

@@ -1719,16 +1719,6 @@ impl MentionCompletion {
 
         let last_mention_start = last_mention_start?;
 
-        //  Must be a word boundary before '@'
-        if last_mention_start > 0
-            && line[..last_mention_start]
-                .chars()
-                .last()
-                .is_some_and(|c| !c.is_whitespace())
-        {
-            return None;
-        }
-
         let rest_of_line = &line[last_mention_start + 1..];
 
         let mut mode = None;