Remove unnecessary lifetimes from tab_tooltip_text
This commit is contained in:
parent
ebe57254e0
commit
9afd804062
8 changed files with 10 additions and 10 deletions
|
@ -514,7 +514,7 @@ impl Item for Editor {
|
|||
}
|
||||
}
|
||||
|
||||
fn tab_tooltip_text<'a>(&self, cx: &'a AppContext) -> Option<Cow<'a, str>> {
|
||||
fn tab_tooltip_text(&self, cx: &AppContext) -> Option<Cow<str>> {
|
||||
let file_path = self
|
||||
.buffer()
|
||||
.read(cx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue