Function gen

Source
pub fn gen(doc: &Document) -> String