Skip to content

Commit 691ce30

Browse files
feniljainVeykril
andauthored
fix: indentation after inserting #must_use
Co-authored-by: Lukas Wirth <[email protected]>
1 parent 4bf9b9b commit 691ce30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ide-assists/src/handlers/generate_enum_projection_method.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ fn generate_enum_projection_method(
162162
let field_type_syntax = field_type.syntax();
163163

164164
let must_use = if ctx.config.assist_emit_must_use {
165-
"#[must_use]\n"
165+
"#[must_use]\n "
166166
} else {
167167
""
168168
};

0 commit comments

Comments
 (0)