Skip to content

Commit ec55da1

Browse files
committed
Address review comments.
1 parent a535a31 commit ec55da1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/visitor.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -623,13 +623,13 @@ impl<'b, 'a: 'b> FmtVisitor<'a> {
623623

624624
fn visit_assoc_item(&mut self, ai: &ast::AssocItem, visitor_kind: ItemVisitorKind) {
625625
use ItemVisitorKind::*;
626-
// TODO(calebcartwright): Not sure the skip spans are correct
627626
let assoc_ctxt = match visitor_kind {
628627
AssocTraitItem => visit::AssocCtxt::Trait,
629628
// There is no difference between trait and inherent assoc item formatting
630629
AssocImplItem => visit::AssocCtxt::Impl { of_trait: false },
631630
_ => unreachable!(),
632631
};
632+
// TODO(calebcartwright): Not sure the skip spans are correct
633633
let skip_span = ai.span;
634634
skip_out_of_file_lines_range_visitor!(self, ai.span);
635635

0 commit comments

Comments
 (0)