Skip to main content

edit_source

Function edit_source 

Source
pub fn edit_source(source: &str, valid: bool) -> String
Expand description

The one-line edit the benchmarks make: valid toggles a field’s type between a real one and an unknown name, so each edit changes the diagnostics and the client can tell its own round from a stale one.