Merge pull request #1385 from zed-industries/fix-lifetime-error

Fix spurious borrow checker error
This commit is contained in:
Antonio Scandurra
2022-07-18 12:22:54 +02:00
committed by GitHub
+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