Skip to content

Commit

Permalink
fmt and lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazariglez committed Aug 12, 2024
1 parent 0d35b60 commit 182ba9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions crates/notan_app/src/plugins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,7 @@ impl Plugins {

#[allow(unused_variables)]
/// A plugin allow the user to extend or alter the application
pub trait Plugin
{
pub trait Plugin {
/// Executed before the application loop
fn init(
&mut self,
Expand Down
3 changes: 3 additions & 0 deletions crates/notan_web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@ features = [
audio = ["notan_app/audio", "notan_audio", "notan_oddio"]
drop_files = ["web-sys/DragEvent", "web-sys/DataTransfer", "web-sys/FileList", "web-sys/File", "web-sys/DataTransferItemList", "web-sys/DataTransferItem"]
clipboard = ["web-sys/Navigator", "web-sys/DataTransfer"]

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] }

0 comments on commit 182ba9e

Please sign in to comment.