mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-24 04:46:58 +00:00
fix: indentation after inserting #must_use
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
This commit is contained in:
parent
4bf9b9b003
commit
691ce306df
@ -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…
Reference in New Issue
Block a user