Skip to content

Commit 4748357

Browse files
committed
Drive-by cleanup: fully qualify ast::Expr in hir
1 parent 761b127 commit 4748357

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/hir/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ use once_cell::unsync::Lazy;
7474
use rustc_hash::FxHashSet;
7575
use stdx::{impl_from, never};
7676
use syntax::{
77-
ast::{self, Expr, HasAttrs as _, HasDocComments, HasName},
77+
ast::{self, HasAttrs as _, HasDocComments, HasName},
7878
AstNode, AstPtr, SmolStr, SyntaxNodePtr, TextRange, T,
7979
};
8080

@@ -1074,7 +1074,7 @@ impl Variant {
10741074
db.enum_data(self.parent.id).variants[self.id].variant_data.clone()
10751075
}
10761076

1077-
pub fn value(self, db: &dyn HirDatabase) -> Option<Expr> {
1077+
pub fn value(self, db: &dyn HirDatabase) -> Option<ast::Expr> {
10781078
self.source(db)?.value.expr()
10791079
}
10801080

0 commit comments

Comments
 (0)