According to https://rust-lang.github.io/rustfmt/?version=v1.4.36&search=#normalize_comments should convert /* yada */ to // yada, but the inverse happens.
# rustfmt +nightly --version
rustfmt 1.4.37-nightly (d2b04f0 2021-07-07)
normalize_comments = true
normalize_doc_attributes = true
results in a delta of
@@ -150,11 +151,11 @@ pub enum Stage {
AvailabilityRecovery = 6,
BitfieldDistribution = 7,
ApprovalChecking = 8,
- // Expand as needed, numbers should be ascending according to the stage
- // through the inclusion pipeline, or according to the descriptions
- // in [the path of a para chain block]
- // (https://polkadot.network/the-path-of-a-parachain-block/)
- // see [issue](https://github.com/paritytech/polkadot/issues/2389)
+ /* Expand as needed, numbers should be ascending according to the stage
+ * through the inclusion pipeline, or according to the descriptions
+ * in [the path of a para chain block]
+ * (https://polkadot.network/the-path-of-a-parachain-block/)
+ * see [issue](https://github.com/paritytech/polkadot/issues/2389) */
}
/// A wrapper type for a span.
According to https://rust-lang.github.io/rustfmt/?version=v1.4.36&search=#normalize_comments should convert
/* yada */to// yada, but the inverse happens.# rustfmt +nightly --version rustfmt 1.4.37-nightly (d2b04f0 2021-07-07)results in a delta of