Commit 487232b5 authored by Corey Farwell's avatar Corey Farwell
Browse files

Remove unnecessary explicit lifetime.

parent 2cfb2513
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,