Ignore unused imports for pub use (#484)

This commit is contained in:
kozabrada123 2024-03-15 17:08:46 +01:00 committed by GitHub
parent 2d72442522
commit 9304af2594
8 changed files with 11 additions and 0 deletions

View File

@ -4,7 +4,10 @@
use std::sync::{Arc, RwLock};
#[allow(unused_imports)]
pub use login::*;
#[allow(unused_imports)]
pub use register::*;
use crate::gateway::Gateway;

View File

@ -2,6 +2,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#![allow(unused_imports)]
pub use channels::*;
pub use messages::*;
pub use permissions::*;

View File

@ -2,6 +2,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#![allow(unused_imports)]
pub use guilds::*;
pub use messages::*;
pub use roles::*;

View File

@ -3,6 +3,8 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//! All of the API's endpoints.
#![allow(unused_imports)]
pub use channels::messages::*;
pub use guilds::*;
pub use invites::*;

View File

@ -2,6 +2,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#![allow(unused_imports)]
pub use instance::*;
pub mod instance;

View File

@ -2,6 +2,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#![allow(unused_imports)]
pub use channels::*;
pub use guilds::*;
pub use relationships::*;

View File

@ -2,6 +2,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#![allow(unused_imports)]
pub use activity::*;
pub use connected_account::*;
pub use guild_welcome_screen::*;

View File

@ -2,6 +2,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#![allow(unused_imports)]
pub use regexes::*;
pub use rights::Rights;
pub use snowflake::Snowflake;