Rename N! to name!

This commit is contained in:
Florian Diebold 2019-12-13 22:01:06 +01:00
parent 259c42f00e
commit 6911bc89a7
16 changed files with 60 additions and 60 deletions

View file

@ -17,7 +17,7 @@ use hir_def::{
};
use hir_expand::{
diagnostics::DiagnosticSink,
name::{AsName, N},
name::{name, AsName},
MacroDefId,
};
use hir_ty::{
@ -723,7 +723,7 @@ impl Local {
}
pub fn is_self(self, db: &impl HirDatabase) -> bool {
self.name(db) == Some(N![self])
self.name(db) == Some(name![self])
}
pub fn is_mut(self, db: &impl HirDatabase) -> bool {