diff --git a/build/types.rs b/build/types.rs index d2e3d5a8..a00516d8 100644 --- a/build/types.rs +++ b/build/types.rs @@ -119,15 +119,15 @@ fn parse_types(ranges: &BTreeMap) -> BTreeMap { fn make_enum(w: &mut BufWriter, types: &BTreeMap) { write!(w, -r#"/// A Postgres type. +"/// A Postgres type. #[derive(PartialEq, Eq, Clone, Debug)] pub enum Type {{ -"# +" ).unwrap(); for type_ in types.values() { write!(w, -r" /// {} +" /// {} {}, " , type_.doc, type_.variant).unwrap();