Create trait Removable, replace ted APIs with builder APIs

This commit is contained in:
ice1000 2022-09-02 05:06:51 +00:00
parent 37e20decad
commit a695e900f6
8 changed files with 45 additions and 27 deletions

View file

@ -12,7 +12,7 @@ use syntax::{
ast::{
self,
edit::{self, AstNodeEdit},
edit_in_place::AttrsOwnerEdit,
edit_in_place::{AttrsOwnerEdit, Removable},
make, HasArgList, HasAttrs, HasGenericParams, HasName, HasTypeBounds, Whitespace,
},
ted, AstNode, AstToken, Direction, SmolStr, SourceFile,