Skip to main content

is_generated

Function is_generated 

Source
pub fn is_generated(content: &[u8]) -> bool
Expand description

Whether the first line of content is a comment that holds the generated marker. Every comment syntax is accepted.