review comment
This commit is contained in:
parent
ad13d9fbbe
commit
eb835093a3
1 changed files with 1 additions and 1 deletions
|
@ -1462,7 +1462,7 @@ impl<'a: 'ast, 'ast> LateResolutionVisitor<'a, '_, 'ast> {
|
||||||
.map(|span| {
|
.map(|span| {
|
||||||
(
|
(
|
||||||
*span,
|
*span,
|
||||||
if span.lo() == span.hi() { "pub " } else { "pub" }
|
if span.is_empty() { "pub " } else { "pub" }
|
||||||
.to_string(),
|
.to_string(),
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue