1
Fork 0

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 @@ 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(),
) )
}) })