Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit ea712f1

Browse files
fix: apply rustc-ap updates to backported commit
1 parent 5e7fb45 commit ea712f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2932,7 +2932,7 @@ fn format_header(
29322932
let after_vis = vis.span.hi();
29332933
if let Some(before_item_name) = context
29342934
.snippet_provider
2935-
.opt_span_before(mk_sp(vis.span().lo(), ident.span.hi()), item_name.trim())
2935+
.opt_span_before(mk_sp(vis.span.lo(), ident.span.hi()), item_name.trim())
29362936
{
29372937
let missing_span = mk_sp(after_vis, before_item_name);
29382938
if let Some(result_with_comment) = combine_strs_with_missing_comments(

0 commit comments

Comments
 (0)