Add reformat to the CI (#21)
This commit is contained in:
parent
df091d59dd
commit
5674886dfa
7 changed files with 112 additions and 78 deletions
|
|
@ -32,10 +32,7 @@ impl WebImpl {
|
|||
// `querySelector` only throws an error if the selector is invalid.
|
||||
.unwrap()
|
||||
.ok_or_else(|| {
|
||||
SwBufError::PlatformError(
|
||||
Some("No canvas found with the given id".into()),
|
||||
None,
|
||||
)
|
||||
SwBufError::PlatformError(Some("No canvas found with the given id".into()), None)
|
||||
})?
|
||||
// We already made sure this was a canvas in `querySelector`.
|
||||
.unchecked_into();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue