fix: add spaces around ? in optional record field

This commit is contained in:
Luca Cervello 2023-02-08 18:41:22 +01:00
parent 9340a67e87
commit a4410fe052
No known key found for this signature in database
GPG key ID: 05180DD59F7580C4
3 changed files with 39 additions and 1 deletions

View file

@ -509,6 +509,7 @@ fn format_assigned_field_help<'a, 'buf, T>(
buf.spaces(separator_spaces);
buf.push('?');
buf.spaces(1);
ann.value.format(buf, indent);
}
LabelOnly(name) => {