pub fn doc(ws: &Workspace<'_>, options: &DocOptions) -> CargoResult<()>
Main method for cargo doc.
cargo doc