diff options
| author | Max Verevkin <maxxverrr@gmail.com> | 2022-06-11 15:54:42 +0300 |
|---|---|---|
| committer | Max Verevkin <maxxverrr@gmail.com> | 2022-06-11 15:54:42 +0300 |
| commit | c8fd8516e20eb5600abecf621c47f8ab7f26e562 (patch) | |
| tree | 4cb917ae6717644c595f7393f0e6d94954eed0c3 /src | |
| parent | 2e02a93670707ba3726e46f9a5dc02c3f55c060c (diff) | |
| download | i3bar-mango-c8fd8516e20eb5600abecf621c47f8ab7f26e562.tar.gz | |
refactor: remove unnecessary pub(crate)
Diffstat (limited to 'src')
| -rw-r--r-- | src/river_protocols.rs | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/river_protocols.rs b/src/river_protocols.rs index b7f588d..c81a7f7 100644 --- a/src/river_protocols.rs +++ b/src/river_protocols.rs @@ -10,27 +10,27 @@ mod generated { pub mod client1 { // These imports are used by the generated code - pub(crate) use smithay_client_toolkit::reexports::client as wayland_client; - pub(crate) use wayland_client::protocol::*; - pub(crate) use wayland_client::sys; - pub(crate) use wayland_client::{AnonymousObject, Attached, Main, Proxy, ProxyMap}; - pub(crate) use wayland_commons::map::{Object, ObjectMetadata}; - pub(crate) use wayland_commons::smallvec; - pub(crate) use wayland_commons::wire::{Argument, ArgumentType, Message, MessageDesc}; - pub(crate) use wayland_commons::{Interface, MessageGroup}; + use smithay_client_toolkit::reexports::client as wayland_client; + use wayland_client::protocol::*; + use wayland_client::sys; + use wayland_client::{AnonymousObject, Attached, Main, Proxy, ProxyMap}; + use wayland_commons::map::{Object, ObjectMetadata}; + use wayland_commons::smallvec; + use wayland_commons::wire::{Argument, ArgumentType, Message, MessageDesc}; + use wayland_commons::{Interface, MessageGroup}; include!(concat!(env!("OUT_DIR"), "/river-status-unstable-v1.rs")); } pub mod client2 { // These imports are used by the generated code - pub(crate) use smithay_client_toolkit::reexports::client as wayland_client; - pub(crate) use wayland_client::protocol::*; - pub(crate) use wayland_client::sys; - pub(crate) use wayland_client::{AnonymousObject, Attached, Main, Proxy, ProxyMap}; - pub(crate) use wayland_commons::map::{Object, ObjectMetadata}; - pub(crate) use wayland_commons::smallvec; - pub(crate) use wayland_commons::wire::{Argument, ArgumentType, Message, MessageDesc}; - pub(crate) use wayland_commons::{Interface, MessageGroup}; + use smithay_client_toolkit::reexports::client as wayland_client; + use wayland_client::protocol::*; + use wayland_client::sys; + use wayland_client::{AnonymousObject, Attached, Main, Proxy, ProxyMap}; + use wayland_commons::map::{Object, ObjectMetadata}; + use wayland_commons::smallvec; + use wayland_commons::wire::{Argument, ArgumentType, Message, MessageDesc}; + use wayland_commons::{Interface, MessageGroup}; include!(concat!(env!("OUT_DIR"), "/river-control-unstable-v1.rs")); } } |
