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

@ -532,7 +532,7 @@ impl Item for ProjectDiagnosticsEditor {
.update(cx, |editor, cx| editor.navigate(data, cx))
}
fn tab_tooltip_text<'a>(&'a self, _: &'a AppContext) -> Option<Cow<'a, str>> {
fn tab_tooltip_text(&self, _: &AppContext) -> Option<Cow<str>> {
Some("Project Diagnostics".into())
}