Ignore unused imports for pub use (#484)
This commit is contained in:
parent
d5cebf0fef
commit
854c9820ef
|
@ -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;
|
||||
|
|
|
@ -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::*;
|
||||
|
|
|
@ -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::*;
|
||||
|
|
|
@ -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::*;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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::*;
|
||||
|
|
|
@ -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::*;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue