Remove the need for cfg_aliases in winit-core (#4271)
This commit is contained in:
parent
b0f26c79ff
commit
478427b0bd
7 changed files with 18 additions and 34 deletions
|
|
@ -1560,9 +1560,9 @@ impl NamedKey {
|
|||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// # #[cfg(web_platform)]
|
||||
/// # #[cfg(target_family = "wasm")]
|
||||
/// # wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser);
|
||||
/// # #[cfg_attr(web_platform, wasm_bindgen_test::wasm_bindgen_test)]
|
||||
/// # #[cfg_attr(target_family = "wasm", wasm_bindgen_test::wasm_bindgen_test)]
|
||||
/// # fn main() {
|
||||
/// use winit_core::keyboard::NamedKey;
|
||||
///
|
||||
|
|
@ -1587,9 +1587,9 @@ impl Key {
|
|||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// # #[cfg(web_platform)]
|
||||
/// # #[cfg(target_family = "wasm")]
|
||||
/// # wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser);
|
||||
/// # #[cfg_attr(web_platform, wasm_bindgen_test::wasm_bindgen_test)]
|
||||
/// # #[cfg_attr(target_family = "wasm", wasm_bindgen_test::wasm_bindgen_test)]
|
||||
/// # fn main() {
|
||||
/// use winit_core::keyboard::{Key, NamedKey};
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue