You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(turbopack): Add comment_width = 100 to rustfmt.toml (#68541)
The default `comment_width` is `80`, which is a mismatch with the
`max_width` of `100`.
Previous discussion:
https://vercel.slack.com/archives/C03EWR7LGEN/p1716332166435329
Ran `cargo fmt` after making this change. It seems to mostly just fix
bullet points. Other places it likely can't differentiate between
wrapped text and intentional newlines.
I don't plan on going through and manually re-wrapping of all of the
comments, but over time this should get fixed as people change comments.
/// If an import is specified as dynamic, next.js does few things:
110
110
/// - Runs a next_dynamic [transform to the source file](https://github.com/vercel/next.js/blob/ae1b89984d26b2af3658001fa19a19e1e77c312d/packages/next-swc/crates/next-transform-dynamic/src/lib.rs#L22)
111
111
/// - This transform will [inject `loadableGenerated` property](https://github.com/vercel/next.js/blob/ae1b89984d26b2af3658001fa19a19e1e77c312d/packages/next-swc/crates/next-transform-dynamic/tests/fixture/wrapped-import/output-webpack-dev.js#L5),
112
-
/// which contains the list of the import ids in the form of `${origin} ->
113
-
/// ${imported}`.
114
-
/// - Emits `react-loadable-manifest.json` which contains the mapping of the
115
-
/// import ids to the chunk ids.
112
+
/// which contains the list of the import ids in the form of `${origin} -> ${imported}`.
113
+
/// - Emits `react-loadable-manifest.json` which contains the mapping of the import ids to the chunk
/// - Server embeds those into __NEXT_DATA__ and [send to the client.](https://github.com/vercel/next.js/blob/ad42b610c25b72561ad367b82b1c7383fd2a5dd2/packages/next/src/server/render.tsx#L1453)
125
124
/// - When client boots up, pass it to the [client preload](https://github.com/vercel/next.js/blob/ad42b610c25b72561ad367b82b1c7383fd2a5dd2/packages/next/src/client/index.tsx#L943)
Copy file name to clipboardExpand all lines: crates/next-core/src/next_client_reference/ecmascript_client_reference/ecmascript_client_reference_module.rs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,8 @@ use turbopack_core::{
9
9
use turbopack_ecmascript::chunk::EcmascriptChunkPlaceable;
10
10
11
11
/// An [EcmascriptClientReferenceModule] is a marker module, used by the
12
-
/// [super::ecmascript_client_reference_proxy_module::EcmascriptClientReferenceProxyModule] to indicate which client reference
13
-
/// should appear in the client reference manifest.
12
+
/// [super::ecmascript_client_reference_proxy_module::EcmascriptClientReferenceProxyModule] to
13
+
/// indicate which client reference should appear in the client reference manifest.
0 commit comments