Remove unnecessary explicit lifetime.

This commit is contained in:
Corey Farwell 2016-05-01 21:28:51 -04:00
parent 2cfb25136f
commit 487232b52d
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ impl ExtensionType {
}
}
pub fn get_name<'a>(&'a self) -> Option<&'a str> {
pub fn get_name(&self) -> Option<&str> {
match self {
&ExtensionType::OtherStr(ref s) => Some(s),
_ => None,