diff options
| author | feniljain <49019259+feniljain@users.noreply.github.com> | 2022-11-02 16:09:12 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-02 16:09:12 +0530 |
| commit | 691ce306df39b4c99f7f5b2a366b603532a3b063 (patch) | |
| tree | e6d33e3aa7a185aa1fa69913e9ea31b167f39e95 | |
| parent | 4bf9b9b0031f64755bfa102a3cf9363aadea98c5 (diff) | |
| download | rust-691ce306df39b4c99f7f5b2a366b603532a3b063.tar.gz rust-691ce306df39b4c99f7f5b2a366b603532a3b063.zip | |
fix: indentation after inserting `#must_use`
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
| -rw-r--r-- | crates/ide-assists/src/handlers/generate_enum_projection_method.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide-assists/src/handlers/generate_enum_projection_method.rs b/crates/ide-assists/src/handlers/generate_enum_projection_method.rs index ad88a04ce87..ad0cc6d836f 100644 --- a/crates/ide-assists/src/handlers/generate_enum_projection_method.rs +++ b/crates/ide-assists/src/handlers/generate_enum_projection_method.rs @@ -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 { "" }; |
