Skip to content

Commit

Permalink
Fix warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Berrysoft committed Mar 1, 2024
1 parent 15f8228 commit 26b669d
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 14 deletions.
6 changes: 1 addition & 5 deletions bins/ayaka-gui/src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ mod settings;
#[cfg(mobile)]
mod mobile;

use ayaka_model::{
anyhow::{self, Result},
vfs::VfsPath,
*,
};
use ayaka_model::{anyhow::Result, vfs::VfsPath, *};
use ayaka_plugin_wasmi::{WasmiLinker, WasmiModule};
use clap::Parser;
use serde::{Deserialize, Serialize};
Expand Down
5 changes: 1 addition & 4 deletions bins/ayaka-gui/src-tauri/src/settings.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
use ayaka_model::{
anyhow::{self, Result},
*,
};
use ayaka_model::{anyhow::Result, *};
use serde::{de::DeserializeOwned, Serialize};
use std::path::{Path, PathBuf};
use tauri::{App, Manager};
Expand Down
1 change: 0 additions & 1 deletion plugins/ayacript/src/plugin.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use crate::*;
use ayaka_plugin::*;
use ayaka_script::*;
use std::collections::HashMap;

#[import("plugin")]
extern "C" {
Expand Down
1 change: 0 additions & 1 deletion utils/ayaka-model/src/view_model.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use crate::*;
use anyhow::Result;
use ayaka_plugin::RawModule;
use serde::Serialize;
use stream_future::stream;
use trylog::macros::*;
Expand Down
1 change: 0 additions & 1 deletion utils/ayaka-runtime/src/config.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use crate::*;
use ayaka_bindings_types::VarMap;
use fallback::Fallback;
use serde::Deserialize;
use std::collections::HashMap;
Expand Down
1 change: 0 additions & 1 deletion utils/ayaka-runtime/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use crate::{
};
use anyhow::{anyhow, bail, Result};
use ayaka_bindings_types::*;
use ayaka_plugin::RawModule;
use fallback::Fallback;
use log::error;
use serde::Serialize;
Expand Down
1 change: 0 additions & 1 deletion utils/ayaka-runtime/src/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ mod script_interop;
mod test;

use crate::*;
use anyhow::Result;
use ayaka_plugin::*;
use std::{
collections::HashMap,
Expand Down

0 comments on commit 26b669d

Please sign in to comment.