rustfmt

    Run rustfmt using nightly compiler πŸ”—

    This might be needed if you want to use nighty only features

    To format specific file πŸ”—

    Does the whole file plus any files included in it like the rest of the library in this example

    rustfmt +nightly src/lib.rs
    

    To format all binary and library targets of your crate πŸ”—

    cargo +nightly fmt
    

    Using comment wrapping (comment_width) πŸ”—

    Source: https://rust-lang.github.io/rustfmt/#comment_width

    # `wrap_comments` is unstable so to use you need to use nightly.
    # Uncomment the line below then run `cargo +nightly fmt`
    
    # wrap_comments = true