Merge pull request #1385 from zed-industries/fix-lifetime-error
Fix spurious borrow checker error
This commit is contained in:
commit
0aafc78eb7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue