Skip to main content

pre_process_rust_code

Function pre_process_rust_code 

Source
pub fn pre_process_rust_code(s: &mut str)
Expand description

Replace bits of Rust nightly syntax with something that is technically valid in stable Rust, so syn can parse it