mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-30 15:17:31 +00:00
Rename *Owner
traits to Has*
This commit is contained in:
parent
a28c5d7311
commit
b6ed91a6de
101 changed files with 393 additions and 397 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue