Fix spurious borrow checker error

Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
Antonio ScandurraandMax Brunsfeld committed 2022-07-08 19:03:25 +02:00
1 parent ea844ff8f2
commit d8e346f0e9
1 file changed
+1 -1
+1 -1
View File
@@ -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