We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a535a31 commit ec55da1Copy full SHA for ec55da1
src/visitor.rs
@@ -623,13 +623,13 @@ impl<'b, 'a: 'b> FmtVisitor<'a> {
623
624
fn visit_assoc_item(&mut self, ai: &ast::AssocItem, visitor_kind: ItemVisitorKind) {
625
use ItemVisitorKind::*;
626
- // TODO(calebcartwright): Not sure the skip spans are correct
627
let assoc_ctxt = match visitor_kind {
628
AssocTraitItem => visit::AssocCtxt::Trait,
629
// There is no difference between trait and inherent assoc item formatting
630
AssocImplItem => visit::AssocCtxt::Impl { of_trait: false },
631
_ => unreachable!(),
632
};
+ // TODO(calebcartwright): Not sure the skip spans are correct
633
let skip_span = ai.span;
634
skip_out_of_file_lines_range_visitor!(self, ai.span);
635
0 commit comments