From 34db2d7d4c1deebbb706194113853591e7c6b60c Mon Sep 17 00:00:00 2001 From: Austin Lasher Date: Wed, 26 Jun 2019 09:35:54 -0400 Subject: [PATCH] Fix broken links to mod DPI on various documentation pages (#984) --- src/event.rs | 2 +- src/monitor.rs | 2 +- src/window.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/event.rs b/src/event.rs index 26356e10..8e0ac043 100644 --- a/src/event.rs +++ b/src/event.rs @@ -198,7 +198,7 @@ pub enum WindowEvent { /// * Changing the display's DPI factor (e.g. in Control Panel on Windows). /// * Moving the window to a display with a different DPI factor. /// - /// For more information about DPI in general, see the [`dpi`](dpi/index.html) module. + /// For more information about DPI in general, see the [`dpi`](../dpi/index.html) module. HiDpiFactorChanged(f64), } diff --git a/src/monitor.rs b/src/monitor.rs index fe8c9c57..f27ef9d7 100644 --- a/src/monitor.rs +++ b/src/monitor.rs @@ -119,7 +119,7 @@ impl MonitorHandle { /// Returns the DPI factor that can be used to map logical pixels to physical pixels, and vice versa. /// - /// See the [`dpi`](dpi/index.html) module for more information. + /// See the [`dpi`](../dpi/index.html) module for more information. /// /// ## Platform-specific /// diff --git a/src/window.rs b/src/window.rs index ccaf00a3..10fbce45 100644 --- a/src/window.rs +++ b/src/window.rs @@ -329,7 +329,7 @@ impl Window { /// Returns the DPI factor that can be used to map logical pixels to physical pixels, and vice versa. /// - /// See the [`dpi`](dpi/index.html) module for more information. + /// See the [`dpi`](../dpi/index.html) module for more information. /// /// Note that this value can change depending on user action (for example if the window is /// moved to another screen); as such, tracking `WindowEvent::HiDpiFactorChanged` events is