Commit 4d09fc6 1 parent f3ccee4 commit 4d09fc6 Copy full SHA for 4d09fc6
File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 5
5
cargo check --quiet --workspace --all-targets
6
6
cargo check --quiet --workspace --all-features --lib --target wasm32-unknown-unknown
7
7
cargo fmt --all -- --check
8
- cargo clippy --quiet --workspace --all-targets --all-features -- -D warnings -W clippy::all
8
+ cargo clippy --quiet --workspace --all-targets --all-features -- warnings -W clippy::all
9
9
cargo test --quiet --workspace --all-targets --all-features
10
10
cargo test --quiet --workspace --doc
11
11
trunk build
Original file line number Diff line number Diff line change 1
- #![ warn( clippy:: all, rust_2018_idioms) ]
1
+ // #![warn(clippy::all, rust_2018_idioms)]
2
2
#![ cfg_attr( not( debug_assertions) , windows_subsystem = "windows" ) ] // hide console window on Windows in release
3
3
4
4
// When compiling natively:
@@ -29,7 +29,6 @@ fn main() -> eframe::Result<()> {
29
29
fn main ( ) {
30
30
// Redirect `log` message to `console.log` and friends:
31
31
eframe:: WebLogger :: init ( log:: LevelFilter :: Debug ) . ok ( ) ;
32
- console:: log_1 ( & "erm, what the deuce" . into ( ) ) ;
33
32
let the_canvas_id = String :: from ( "Cellular-Automata beta 0.0.1" ) ;
34
33
let web_options = eframe:: WebOptions :: default ( ) ;
35
34
wasm_bindgen_futures:: spawn_local ( async {
You can’t perform that action at this time.
0 commit comments