Skip to content

Commit db45bfa

Browse files
committed
doc fixes
1 parent 3666601 commit db45bfa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

crates/egui-wgpu/src/lib.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -362,10 +362,8 @@ pub struct WgpuSetupCreateNew {
362362
/// Optional selector for native adapters.
363363
///
364364
/// This field has no effect when targeting web!
365-
/// Otherwise, if set [`WgpuSetup::CreateNew::power_preference`] is ignored and the
366-
/// adapter is instead selected by this method.
367-
/// Note that [`WgpuSetup::CreateNew::supported_backends`] is still used to
368-
/// filter the adapter enumeration in the first place.
365+
/// Otherwise, if set [`Self::power_preference`] is ignored and the adapter is instead selected by this method.
366+
/// Note that [`Self::supported_backends`] is still used to filter the adapter enumeration in the first place.
369367
///
370368
/// Defaults to `None`.
371369
pub native_adapter_selector: Option<NativeAdapterSelectorMethod>,

0 commit comments

Comments
 (0)