diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/items.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/items.rs b/src/items.rs index cd8364fd686..57156aece33 100644 --- a/src/items.rs +++ b/src/items.rs @@ -2932,7 +2932,7 @@ fn format_header( let after_vis = vis.span.hi(); if let Some(before_item_name) = context .snippet_provider - .opt_span_before(mk_sp(vis.span().lo(), ident.span.hi()), item_name.trim()) + .opt_span_before(mk_sp(vis.span.lo(), ident.span.hi()), item_name.trim()) { let missing_span = mk_sp(after_vis, before_item_name); if let Some(result_with_comment) = combine_strs_with_missing_comments( |
