conlang: Elide lifetimes (fixes clippy lint)
This commit is contained in:
@@ -20,7 +20,7 @@ pub enum Source<'a> {
|
||||
Ty(&'a TyKind),
|
||||
}
|
||||
|
||||
impl<'a> Source<'a> {
|
||||
impl Source<'_> {
|
||||
pub fn name(&self) -> Option<Sym> {
|
||||
match self {
|
||||
Source::Root => None,
|
||||
|
||||
@@ -268,7 +268,7 @@ impl<'a> Table<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> Default for Table<'a> {
|
||||
impl Default for Table<'_> {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user