Skip to main content

diff_args

Function diff_args 

Source
pub fn diff_args(before: &Value, after: &Value) -> String
Expand description

A per-line diff of two argument renderings, - /+ prefixed. Line-set based: enough to show what changed in a draft without a diff crate, and the full before/after always survives on the item itself. Used by both mecha outbox show and the reflect pass that mines edits.