We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b57946 commit aac82a9Copy full SHA for aac82a9
library/std/src/sys/windows/compat.rs
@@ -151,7 +151,7 @@ impl Module {
151
macro_rules! compat_fn_with_fallback {
152
(pub static $module:ident: &CStr = $name:expr; $(
153
$(#[$meta:meta])*
154
- pub fn $symbol:ident($($argname:ident: $argtype:ty),*) -> $rettype:ty $fallback_body:block
+ $vis:vis fn $symbol:ident($($argname:ident: $argtype:ty),*) -> $rettype:ty $fallback_body:block
155
)*) => (
156
pub static $module: &CStr = $name;
157
$(
@@ -208,7 +208,7 @@ macro_rules! compat_fn_with_fallback {
208
}
209
210
$(#[$meta])*
211
- pub use $symbol::call as $symbol;
+ $vis use $symbol::call as $symbol;
212
)*)
213
214
0 commit comments