From 5e949edfad81fef07cef51ee69ebcd577aab7759 Mon Sep 17 00:00:00 2001 From: Codex Date: Mon, 30 Nov 2026 14:28:10 +0100 Subject: [PATCH] Preserve the degree symbol in the cursor documentation --- crates/ui-egui/src/cursors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/cursors.rs b/crates/ui-egui/src/cursors.rs index 6af53f1028..b120d35c4a 100644 --- a/crates/ui-egui/src/cursors.rs +++ b/crates/ui-egui/src/cursors.rs @@ -71,7 +71,7 @@ fn badged(badge: CursorBadge) -> cb::Cursor { PaintedCursor::badged(CursorIcon::Default, badge).into() } -/// The rotate pointer beside a box, at `octant` from the box's centre (0 up, clockwise in 45° steps). +/// The rotate pointer beside a box, at `octant` from the box's centre (0 up, clockwise in 45° steps). /// Its arc bends round the corner it is at, so it opens toward the centre: opposite the octant. fn turn_toward(octant: u8) -> cb::Cursor { let angle = f32::from(octant % 8) * std::f32::consts::FRAC_PI_4;