docs(readme): fix broken example preview links #40
Annotations
14 warnings
fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
doc
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
used `unwrap()` on a `Result` value:
src/backend/utils.rs#L147
warning: used `unwrap()` on a `Result` value
--> src/backend/utils.rs:147:13
|
147 | 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)]
| ^^^^^^^^^^^^^^^^^^^
|
used `unwrap()` on an `Option` value:
src/backend/utils.rs#L147
warning: used `unwrap()` on an `Option` value
--> src/backend/utils.rs:147:13
|
147 | 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
|
used `unwrap()` on a `Result` value:
src/backend/utils.rs#L148
warning: used `unwrap()` on a `Result` value
--> src/backend/utils.rs:148:6
|
148 | (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
|
used `unwrap()` on a `Result` value:
src/backend/utils.rs#L148
warning: used `unwrap()` on a `Result` value
--> src/backend/utils.rs:148:26
|
148 | (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
|
used `unwrap()` on an `Option` value:
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
|
used `unwrap()` on an `Option` value:
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
|
used `unwrap()` on a `Result` value:
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
|
used `unwrap()` on a `Result` value:
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
|
used `unwrap()` on an `Option` value:
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
|
used `unwrap()` on a `Result` value:
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
|