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
|
@ -95,7 +95,7 @@ impl View for SharedScreen {
|
|||
}
|
||||
|
||||
impl Item for SharedScreen {
|
||||
fn tab_tooltip_text<'a>(&'a self, _: &'a AppContext) -> Option<Cow<'a, str>> {
|
||||
fn tab_tooltip_text(&self, _: &AppContext) -> Option<Cow<str>> {
|
||||
Some(format!("{}'s screen", self.user.github_login).into())
|
||||
}
|
||||
fn deactivated(&mut self, cx: &mut ViewContext<Self>) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue