fix: indentation after inserting #must_use
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
This commit is contained in:
parent
4bf9b9b003
commit
691ce306df
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ fn generate_enum_projection_method(
|
|||
let field_type_syntax = field_type.syntax();
|
||||
|
||||
let must_use = if ctx.config.assist_emit_must_use {
|
||||
"#[must_use]\n"
|
||||
"#[must_use]\n "
|
||||
} else {
|
||||
""
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue