mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-24 12:54:00 +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 field_type_syntax = field_type.syntax();
|
||||||
|
|
||||||
let must_use = if ctx.config.assist_emit_must_use {
|
let must_use = if ctx.config.assist_emit_must_use {
|
||||||
"#[must_use]\n"
|
"#[must_use]\n "
|
||||||
} else {
|
} else {
|
||||||
""
|
""
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user