Skip to content

Commit fb6529a

Browse files
committed
formatting
1 parent a9b1146 commit fb6529a

File tree

4 files changed

+383
-151
lines changed

4 files changed

+383
-151
lines changed

build.rs

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
use std::io;
2-
#[cfg(windows)] use winres::WindowsResource;
2+
#[cfg(windows)]
3+
use winres::WindowsResource;
34

45
fn main() -> io::Result<()> {
5-
#[cfg(windows)] {
6+
#[cfg(windows)]
7+
{
68
WindowsResource::new()
79
.set_icon("favicon-32x32.ico")
810
.compile()?;
911
}
1012
Ok(())
11-
}
13+
}

readme.md

+5
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,8 @@ cargo build --release
3737
```
3838

3939
或者直接下载release
40+
41+
# Other
42+
rsx的format可以使用[dioxus-cli](https://github.com/DioxusLabs/cli)
43+
stable版本没有fmt的子命令, 使用`cargo install --git https://github.com/DioxusLabs/cli`安装后执行`dioxus fmt`
44+

0 commit comments

Comments
 (0)