diff --git a/egui-wgpu/src/renderer.rs b/egui-wgpu/src/renderer.rs index 1c5c5863..b805f978 100644 --- a/egui-wgpu/src/renderer.rs +++ b/egui-wgpu/src/renderer.rs @@ -26,10 +26,7 @@ use wgpu::util::DeviceExt as _; /// /// # Example /// -/// See the [custom3d_wgpu] demo source for a detailed usage example. -/// -/// [custom3d_wgpu]: -/// https://github.com/emilk/egui/blob/master/egui_demo_app/src/apps/custom3d_wgpu.rs +/// See the [`custom3d_glow`](https://github.com/emilk/egui/blob/master/egui_demo_app/src/apps/custom3d_wgpu.rs) demo source for a detailed usage example. pub struct CallbackFn { prepare: Box, paint: Box, diff --git a/egui_glow/src/painter.rs b/egui_glow/src/painter.rs index 9bd0eb7f..22d8559f 100644 --- a/egui_glow/src/painter.rs +++ b/egui_glow/src/painter.rs @@ -76,10 +76,7 @@ pub struct Painter { /// /// # Example /// -/// See the [custom3d_glow] demo source for a detailed usage example. -/// -/// [custom3d_glow]: -/// https://github.com/emilk/egui/blob/master/egui_demo_app/src/apps/custom3d_wgpu.rs +/// See the [`custom3d_glow`](https://github.com/emilk/egui/blob/master/egui_demo_app/src/apps/custom3d_wgpu.rs) demo source for a detailed usage example. pub struct CallbackFn { f: Box, }