Skip to content

"left behind trailing whitespace" when breaking after visibility of a field #5703

Open
@jplatte

Description

@jplatte
$ rustup run nightly cargo fmt -- --check
Diff in /home/jplatte/code/matrix-rust-sdk/crates/matrix-sdk/src/room/timeline/event_item/content.rs at line 292:
 /// of the sender of the reaction.
 #[derive(Clone, Debug, Default)]
 pub struct ReactionGroup(
-    pub(in crate::room::timeline)
+    pub(in crate::room::timeline) 
         IndexMap<(Option<OwnedTransactionId>, Option<OwnedEventId>), OwnedUserId>,
 );
 
error[internal]: left behind trailing whitespace
   --> /home/jplatte/code/matrix-rust-sdk/crates/matrix-sdk/src/room/timeline/event_item/content.rs:295:295:34
    |
295 |     pub(in crate::room::timeline) 
    |                                  ^
    |

Metadata

Metadata

Assignees

No one assigned

    Labels

    e-trailing whitespaceerror[internal]: left behind trailing whitespace

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions