Preserve the degree symbol in the cursor documentation

This commit is contained in:
Codex committed 2026-11-30 14:28:10 +01:00
1 parent e7a2662ee1
commit 0e9b1e8dd1
1 file changed
+1 -1
+1 -1
View File
@@ -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;