2 ms·
> panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/glow-0.16.0/src/web_sys.rs:282:78: called `Option::unwrap()` on a `None` value
by mhitza 2y ago
> panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/glow-0.16.0/src/web_sys.rs:282:78: called `Option::unwrap()` on a `None` value
Someone's been naughty for Christmas, forcing option unwrapping instead of pattern matching.
On the mobile version of Brave.
- wyager 2y agoAt the very least, one should use `expect` over `unwrap` so the error is useful.
- josephcsible 2y agoI just opened https://github.com/grovesNL/glow/pull/331 https://github.com/grovesNL/glow/pull/331 to do exactly that.