Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/syntax/src/display.rs')
-rw-r--r--crates/syntax/src/display.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/syntax/src/display.rs b/crates/syntax/src/display.rs
index 2422da23f4..1498385fef 100644
--- a/crates/syntax/src/display.rs
+++ b/crates/syntax/src/display.rs
@@ -2,11 +2,11 @@
//! into types that may be used to render in a UI.
use crate::{
- ast::{self, AstNode, AttrsOwner, GenericParamsOwner, NameOwner},
+ ast::{self, AstNode, HasAttrs, HasGenericParams, HasName},
SyntaxKind::{ATTR, COMMENT},
};
-use ast::VisibilityOwner;
+use ast::HasVisibility;
use stdx::format_to;
pub fn function_declaration(node: &ast::Fn) -> String {