Fix spurious borrow checker error
Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
1 parent
ea844ff8f2
commit
d8e346f0e9
1 file changed
+1
-1
@@ -443,7 +443,7 @@ async fn test_outline(cx: &mut gpui::TestAppContext) {
|
||||
|
||||
async fn search<'a>(
|
||||
outline: &'a Outline<Anchor>,
|
||||
query: &str,
|
||||
query: &'a str,
|
||||
cx: &'a gpui::TestAppContext,
|
||||
) -> Vec<(&'a str, Vec<usize>)> {
|
||||
let matches = cx
|
||||
|
||||
Reference in new issue
Block a user