Skip to content

Commit 4a71b53

Browse files
refactor: ThinVec --> AttrVec
1 parent 297f7db commit 4a71b53

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rustfmt-core/rustfmt-lib/src/macros.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ use rustc_span::{BytePos, DUMMY_SP, Span, Symbol, symbol::kw};
1717
use syntax::print::pprust;
1818
use syntax::token::{BinOpToken, DelimToken, Token, TokenKind};
1919
use syntax::tokenstream::{Cursor, TokenStream, TokenTree};
20-
use syntax::ThinVec;
2120
use syntax::{ast, ptr};
2221

2322
use crate::comment::{
@@ -1203,7 +1202,7 @@ pub(crate) fn convert_try_mac(mac: &ast::Mac, context: &RewriteContext<'_>) -> O
12031202
id: ast::NodeId::root(), // dummy value
12041203
kind: ast::ExprKind::Try(kind),
12051204
span: mac.span, // incorrect span, but shouldn't matter too much
1206-
attrs: ThinVec::new(),
1205+
attrs: ast::AttrVec::new(),
12071206
})
12081207
} else {
12091208
None

0 commit comments

Comments
 (0)