pub fn extract_header(source: &str) -> Result<String>Expand description
Return every byte in source up to (but not including) the first
contract-shaped top-level declaration. Returns the whole source
when none is found (e.g. an interface-only file).