Skip to content

Commit 47252f6

Browse files
committed
sys: fix warning from clashing namespace exports
warning: ambiguous glob re-exports --> pulse-sys/src/lib.rs:58:9 | 58 | pub use self::context::*; | ^^^^^^^^^^^^^^^^ the name `flags` in the type namespace is first re-exported here ... 68 | pub use self::stream::*; | --------------- but the name `flags` in the type namespace is also re-exported here | = note: `#[warn(ambiguous_glob_reexports)]` on by default
1 parent d01ed83 commit 47252f6

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

pulse-sys/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# unreleased]
22

3+
* Fixed warning from clashing namespace exports.
34
* Dropped PA v4 support.
45

56
# 1.20.1 (January 9th, 2023)

pulse-sys/src/context/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ pub type pa_context_flags_t = u32;
7575
pub use self::flags::*;
7676

7777
/// Some special flags for contexts.
78-
pub mod flags {
78+
mod flags {
7979
use super::pa_context_flags_t;
8080

8181
pub const PA_CONTEXT_NOFLAGS: pa_context_flags_t = 0x0;

pulse-sys/src/stream.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ pub type pa_stream_flags_t = u32;
7272
pub use self::flags::*;
7373

7474
/// Some special flags for stream connections.
75-
pub mod flags {
75+
mod flags {
7676
use super::pa_stream_flags_t;
7777

7878
pub const PA_STREAM_NOFLAGS: pa_stream_flags_t = 0;

0 commit comments

Comments
 (0)