Remove unnecessary lifetimes from tab_tooltip_text

This commit is contained in:
Joseph Lyons 2023-04-18 14:03:02 -04:00
parent ebe57254e0
commit 9afd804062
8 changed files with 10 additions and 10 deletions

View file

@ -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)