From db45bfa3f95c621586dc71326b6e18a0a6b3ed84 Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Fri, 20 Dec 2024 17:08:19 +0100 Subject: [PATCH] doc fixes --- crates/egui-wgpu/src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/egui-wgpu/src/lib.rs b/crates/egui-wgpu/src/lib.rs index 1358f2e65a7..c4e0b8cca71 100644 --- a/crates/egui-wgpu/src/lib.rs +++ b/crates/egui-wgpu/src/lib.rs @@ -362,10 +362,8 @@ pub struct WgpuSetupCreateNew { /// Optional selector for native adapters. /// /// This field has no effect when targeting web! - /// Otherwise, if set [`WgpuSetup::CreateNew::power_preference`] is ignored and the - /// adapter is instead selected by this method. - /// Note that [`WgpuSetup::CreateNew::supported_backends`] is still used to - /// filter the adapter enumeration in the first place. + /// Otherwise, if set [`Self::power_preference`] is ignored and the adapter is instead selected by this method. + /// Note that [`Self::supported_backends`] is still used to filter the adapter enumeration in the first place. /// /// Defaults to `None`. pub native_adapter_selector: Option,