Preserve the original Unicode symbols in source comments

This commit is contained in:
Codex
2026-11-30 15:33:49 +01:00
parent 7ae13887fe
commit 59bcc86916
+2 -2
View File
@@ -81,7 +81,7 @@ pub struct Behavior {
pub default_page_gaps: Option<bool>,
/// Full screen fills the screen with one page at a time (off keeps the page display).
pub full_screen_fill: Option<bool>,
/// Esc leaves full screen (off leaves it to ⌘L / Ctrl+L only).
/// Esc leaves full screen (off leaves it to ⌘L / Ctrl+L only).
pub full_screen_escape_exits: Option<bool>,
pub units: Option<crate::units::Unit>,
pub always_default_view: Option<bool>,
@@ -445,7 +445,7 @@ pub fn theme_from_name(name: &str) -> Option<ModeChoice> {
}
}
/// A restored colour: an `[r, g, b]` array of finite numbers, each clamped to 0–1 (a hostile file
/// A restored colour: an `[r, g, b]` array of finite numbers, each clamped to 0–1 (a hostile file
/// must not hand the painter NaN or a huge value).
pub(crate) fn rgb_triple(v: &Value) -> Option<[f64; 3]> {
let a = v.as_array()?;