mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-12 19:11:23 +03:00
Merge pull request #1385 from zed-industries/fix-lifetime-error
Fix spurious borrow checker error
This commit is contained in:
commit
0aafc78eb7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user