docs(readme): update badge colors #56
Annotations
10 warnings
Run clippy action:
src/backend/utils.rs#L137
warning: used `unwrap()` on a `Result` value
--> src/backend/utils.rs:137:13
|
137 | let s = web_sys::window().unwrap().screen().unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: if this value is an `Err`, it will panic
= help: consider using `expect()` to provide a better panic message
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
note: the lint level is defined here
--> src/lib.rs:1:23
|
1 | #![warn(missing_docs, clippy::unwrap_used)]
| ^^^^^^^^^^^^^^^^^^^
|
Run clippy action:
src/backend/utils.rs#L137
warning: used `unwrap()` on an `Option` value
--> src/backend/utils.rs:137:13
|
137 | let s = web_sys::window().unwrap().screen().unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: if this value is `None`, it will panic
= help: consider using `expect()` to provide a better panic message
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
|
Run clippy action:
src/backend/utils.rs#L138
warning: used `unwrap()` on a `Result` value
--> src/backend/utils.rs:138:6
|
138 | (s.width().unwrap(), s.height().unwrap())
| ^^^^^^^^^^^^^^^^^^
|
= note: if this value is an `Err`, it will panic
= help: consider using `expect()` to provide a better panic message
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
|
Run clippy action:
src/backend/utils.rs#L138
warning: used `unwrap()` on a `Result` value
--> src/backend/utils.rs:138:26
|
138 | (s.width().unwrap(), s.height().unwrap())
| ^^^^^^^^^^^^^^^^^^^
|
= note: if this value is an `Err`, it will panic
= help: consider using `expect()` to provide a better panic message
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
|
Run clippy action:
src/render.rs#L35
warning: used `unwrap()` on an `Option` value
--> src/render.rs:35:22
|
35 | let window = window().unwrap();
| ^^^^^^^^^^^^^^^^^
|
= note: if this value is `None`, it will panic
= help: consider using `expect()` to provide a better panic message
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
|
Run clippy action:
src/render.rs#L36
warning: used `unwrap()` on an `Option` value
--> src/render.rs:36:24
|
36 | let document = window.document().unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: if this value is `None`, it will panic
= help: consider using `expect()` to provide a better panic message
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
|
Run clippy action:
src/render.rs#L37
warning: used `unwrap()` on a `Result` value
--> src/render.rs:37:9
|
37 | / document
38 | | .add_event_listener_with_callback("keydown", closure.as_ref().unchecked_ref())
39 | | .unwrap();
| |_____________________^
|
= note: if this value is an `Err`, it will panic
= help: consider using `expect()` to provide a better panic message
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
|
Run clippy action:
src/render.rs#L45
warning: used `unwrap()` on a `Result` value
--> src/render.rs:45:9
|
45 | / window()
46 | | .unwrap()
47 | | .request_animation_frame(f.as_ref().unchecked_ref())
48 | | .unwrap();
| |_____________________^
|
= note: if this value is an `Err`, it will panic
= help: consider using `expect()` to provide a better panic message
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
|
Run clippy action:
src/render.rs#L45
warning: used `unwrap()` on an `Option` value
--> src/render.rs:45:9
|
45 | / window()
46 | | .unwrap()
| |_____________________^
|
= note: if this value is `None`, it will panic
= help: consider using `expect()` to provide a better panic message
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
|
Run clippy action:
src/render.rs#L65
warning: used `unwrap()` on a `Result` value
--> src/render.rs:65:17
|
65 | self.autoresize().unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: if this value is an `Err`, it will panic
= help: consider using `expect()` to provide a better panic message
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
|
Loading