Skip to main content

render_note

Function render_note 

Source
pub fn render_note(msg: &str) -> String
Expand description

Render the themed Note: line for msg, aligned to the body indent beneath the current section. The third (and final) status label in the vocabulary — informational lines that are neither warnings nor errors (host-target selection, auto-snapshot activation). Bold-green to read as a benign status, distinct from the yellow Warning: and red Error:. Shared so the Note: palette/label lives in exactly one place rather than being open-coded per call site.