review comment

This commit is contained in:
Esteban Küber 2023-01-08 07:18:07 +00:00
parent ad13d9fbbe
commit eb835093a3

View File

@ -1462,7 +1462,7 @@ fn smart_resolve_context_dependent_help(
.map(|span| {
(
*span,
if span.lo() == span.hi() { "pub " } else { "pub" }
if span.is_empty() { "pub " } else { "pub" }
.to_string(),
)
})