forked from rust-lang/book
-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Description
See here.
This section contains a section which is duplicated and partially updated in one part with a link to the associated documentation.
... To format any Cargo project, enter the following:
$ cargo fmtRunning this command reformats all the Rust code in the current crate. This should only change the code style, not the code semantics.
This command gives you rustfmt and cargo-fmt, similar to how Rust gives you both rustc and cargo. To format any Cargo project, enter the following:
$ cargo fmtRunning this command reformats all the Rust code in the current crate. This should only change the code style, not the code semantics. For more information on rustfmt, see its documentation.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels