Skip to content

Commit f23d7fb

Browse files
style(Common): Reformat cargo config and TypeScript import statements
Reformat multi-line arrays in .cargo/config.toml and Cargo.toml to single-line format, and reformat TypeScript import statements in TypeScript/Function/ to follow consistent single-line style. The Documentation/Rust submodule is also updated to the latest commit. No functional changes; purely cosmetic formatting improvements for consistency.
1 parent 89faa5a commit f23d7fb

File tree

7 files changed

+15
-21
lines changed

7 files changed

+15
-21
lines changed

.cargo/config.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
[build]
22
target-dir = "Target"
3-
rustdocflags = [
4-
"-Zunstable-options",
5-
"--enable-index-page",
6-
]
3+
rustdocflags = ["-Zunstable-options", "--enable-index-page"]
74

85
[net]
96
git-fetch-with-cli = true

.github/Update.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Update: Mon Apr 6 01:54:37 UTC 2026
1+
Update: Mon Apr 6 01:54:37 UTC 2026

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ toml = { workspace = true }
44

55
[dependencies]
66
tauri = { workspace = true, features = [
7-
"wry",
8-
"tray-icon",
9-
"devtools",
10-
"rustls-tls",
11-
"compression",
12-
], default-features = false }
7+
"wry",
8+
"tray-icon",
9+
"devtools",
10+
"rustls-tls",
11+
"compression",
12+
], default-features = false }
1313

1414
async-trait = { workspace = true }
1515
serde = { workspace = true }

Documentation/Rust

Submodule Rust updated 1072 files

TypeScript/Function/Access.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,5 @@ export default (async (...[Key, Identifier, { get }, View]) => {
2727
}
2828
}) satisfies Interface as Interface;
2929

30-
export const { default: Uint8ArrayFromObject } = await import(
31-
"./Uint8ArrayFromObject.js"
32-
);
30+
export const { default: Uint8ArrayFromObject } =
31+
await import("./Uint8ArrayFromObject.js");

TypeScript/Function/Redirect.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@ export default (async (...Option) =>
1010
Option[1] ?? 302,
1111
)) satisfies Interface as Interface;
1212

13-
export const { Response } = await import(
14-
"@cloudflare/workers-types/experimental/index.js"
15-
);
13+
export const { Response } =
14+
await import("@cloudflare/workers-types/experimental/index.js");

TypeScript/Function/Response.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@ export default (async (...Option) =>
1212
},
1313
})) satisfies Interface as Interface;
1414

15-
export const { Response } = await import(
16-
"@cloudflare/workers-types/experimental/index.js"
17-
);
15+
export const { Response } =
16+
await import("@cloudflare/workers-types/experimental/index.js");

0 commit comments

Comments
 (0)