Remove the need for cfg_aliases in winit-core (#4271)

This commit is contained in:
Mads Marquart 2025-06-06 13:24:01 +02:00 committed by GitHub
parent b0f26c79ff
commit 478427b0bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 18 additions and 34 deletions

View file

@ -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};
///