Skip to content

Commit 5d615f0

Browse files
committed
Fix bogus HTML escaping in docs
1 parent 8e22dfb commit 5d615f0

File tree

1 file changed

+57
-57
lines changed

1 file changed

+57
-57
lines changed

src/types/mod.rs

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -258,41 +258,41 @@ impl WrongTypeNew for WrongType {
258258
/// The following implementations are provided by this crate, along with the
259259
/// corresponding Postgres types:
260260
///
261-
/// | Rust type | Postgres type(s) |
262-
/// |-----------------------------------------------|--------------------------------|
263-
/// | `bool` | BOOL |
264-
/// | `i8` | "char" |
265-
/// | `i16` | SMALLINT, SMALLSERIAL |
266-
/// | `i32` | INT, SERIAL |
267-
/// | `u32` | OID |
268-
/// | `i64` | BIGINT, BIGSERIAL |
269-
/// | `f32` | REAL |
270-
/// | `f64` | DOUBLE PRECISION |
271-
/// | `String` | VARCHAR, CHAR(n), TEXT, CITEXT |
272-
/// | `Vec<u8>` | BYTEA |
273-
/// | `HashMap<String, Option<String>>` | HSTORE |
261+
/// | Rust type | Postgres type(s) |
262+
/// |-----------------------------------|--------------------------------|
263+
/// | `bool` | BOOL |
264+
/// | `i8` | "char" |
265+
/// | `i16` | SMALLINT, SMALLSERIAL |
266+
/// | `i32` | INT, SERIAL |
267+
/// | `u32` | OID |
268+
/// | `i64` | BIGINT, BIGSERIAL |
269+
/// | `f32` | REAL |
270+
/// | `f64` | DOUBLE PRECISION |
271+
/// | `String` | VARCHAR, CHAR(n), TEXT, CITEXT |
272+
/// | `Vec<u8>` | BYTEA |
273+
/// | `HashMap<String, Option<String>>` | HSTORE |
274274
///
275275
/// In addition, some implementations are provided for types in third party
276276
/// crates. These are disabled by default; to opt into one of these
277277
/// implementations, activate the Cargo feature corresponding to the crate's
278278
/// name. For example, the `serde_json` feature enables the implementation for
279279
/// the `serde_json::Value` type.
280280
///
281-
/// | Rust type | Postgres type(s) |
282-
/// |---------------------------------------|-------------------------------------|
283-
/// | `serialize::json::Json` | JSON, JSONB |
284-
/// | `serde_json::Value` | JSON, JSONB |
285-
/// | `time::Timespec` | TIMESTAMP, TIMESTAMP WITH TIME ZONE |
286-
/// | `chrono::NaiveDateTime` | TIMESTAMP |
287-
/// | `chrono::DateTime&lt;UTC&gt;` | TIMESTAMP WITH TIME ZONE |
288-
/// | `chrono::DateTime&lt;Local&gt;` | TIMESTAMP WITH TIME ZONE |
289-
/// | `chrono::DateTime&lt;FixedOffset&gt;` | TIMESTAMP WITH TIME ZONE |
290-
/// | `chrono::NaiveDate` | DATE |
291-
/// | `chrono::NaiveTime` | TIME |
292-
/// | `eui48::MacAddress` | MACADDR |
293-
/// | `uuid::Uuid` | UUID |
294-
/// | `bit_vec::BitVec` | BIT, VARBIT |
295-
/// | `eui48::MacAddress` | MACADDR |
281+
/// | Rust type | Postgres type(s) |
282+
/// |---------------------------------|-------------------------------------|
283+
/// | `serialize::json::Json` | JSON, JSONB |
284+
/// | `serde_json::Value` | JSON, JSONB |
285+
/// | `time::Timespec` | TIMESTAMP, TIMESTAMP WITH TIME ZONE |
286+
/// | `chrono::NaiveDateTime` | TIMESTAMP |
287+
/// | `chrono::DateTime<UTC>` | TIMESTAMP WITH TIME ZONE |
288+
/// | `chrono::DateTime<Local>` | TIMESTAMP WITH TIME ZONE |
289+
/// | `chrono::DateTime<FixedOffset>` | TIMESTAMP WITH TIME ZONE |
290+
/// | `chrono::NaiveDate` | DATE |
291+
/// | `chrono::NaiveTime` | TIME |
292+
/// | `eui48::MacAddress` | MACADDR |
293+
/// | `uuid::Uuid` | UUID |
294+
/// | `bit_vec::BitVec` | BIT, VARBIT |
295+
/// | `eui48::MacAddress` | MACADDR |
296296
///
297297
/// # Nullability
298298
///
@@ -508,42 +508,42 @@ pub enum IsNull {
508508
/// The following implementations are provided by this crate, along with the
509509
/// corresponding Postgres types:
510510
///
511-
/// | Rust type | Postgres type(s) |
512-
/// |-----------------------------------------------|--------------------------------|
513-
/// | `bool` | BOOL |
514-
/// | `i8` | "char" |
515-
/// | `i16` | SMALLINT, SMALLSERIAL |
516-
/// | `i32` | INT, SERIAL |
517-
/// | `u32` | OID |
518-
/// | `i64` | BIGINT, BIGSERIAL |
519-
/// | `f32` | REAL |
520-
/// | `f64` | DOUBLE PRECISION |
521-
/// | `String` | VARCHAR, CHAR(n), TEXT, CITEXT |
522-
/// | `&str` | VARCHAR, CHAR(n), TEXT, CITEXT |
523-
/// | `Vec&lt;u8&gt;` | BYTEA |
524-
/// | `&[u8]` | BYTEA |
525-
/// | `HashMap&lt;String, Option&lt;String&gt;&gt;` | HSTORE |
511+
/// | Rust type | Postgres type(s) |
512+
/// |-----------------------------------|--------------------------------|
513+
/// | `bool` | BOOL |
514+
/// | `i8` | "char" |
515+
/// | `i16` | SMALLINT, SMALLSERIAL |
516+
/// | `i32` | INT, SERIAL |
517+
/// | `u32` | OID |
518+
/// | `i64` | BIGINT, BIGSERIAL |
519+
/// | `f32` | REAL |
520+
/// | `f64` | DOUBLE PRECISION |
521+
/// | `String` | VARCHAR, CHAR(n), TEXT, CITEXT |
522+
/// | `&str` | VARCHAR, CHAR(n), TEXT, CITEXT |
523+
/// | `Vec<u8>` | BYTEA |
524+
/// | `&[u8]` | BYTEA |
525+
/// | `HashMap<String, Option<String>>` | HSTORE |
526526
///
527527
/// In addition, some implementations are provided for types in third party
528528
/// crates. These are disabled by default; to opt into one of these
529529
/// implementations, activate the Cargo feature corresponding to the crate's
530530
/// name. For example, the `serde_json` feature enables the implementation for
531531
/// the `serde_json::Value` type.
532532
///
533-
/// | Rust type | Postgres type(s) |
534-
/// |---------------------------------------|-------------------------------------|
535-
/// | `serialize::json::Json` | JSON, JSONB |
536-
/// | `serde_json::Value` | JSON, JSONB |
537-
/// | `time::Timespec` | TIMESTAMP, TIMESTAMP WITH TIME ZONE |
538-
/// | `chrono::NaiveDateTime` | TIMESTAMP |
539-
/// | `chrono::DateTime&lt;UTC&gt;` | TIMESTAMP WITH TIME ZONE |
540-
/// | `chrono::DateTime&lt;Local&gt;` | TIMESTAMP WITH TIME ZONE |
541-
/// | `chrono::DateTime&lt;FixedOffset&gt;` | TIMESTAMP WITH TIME ZONE |
542-
/// | `chrono::NaiveDate` | DATE |
543-
/// | `chrono::NaiveTime` | TIME |
544-
/// | `uuid::Uuid` | UUID |
545-
/// | `bit_vec::BitVec` | BIT, VARBIT |
546-
/// | `eui48::MacAddress` | MACADDR |
533+
/// | Rust type | Postgres type(s) |
534+
/// |---------------------------------|-------------------------------------|
535+
/// | `serialize::json::Json` | JSON, JSONB |
536+
/// | `serde_json::Value` | JSON, JSONB |
537+
/// | `time::Timespec` | TIMESTAMP, TIMESTAMP WITH TIME ZONE |
538+
/// | `chrono::NaiveDateTime` | TIMESTAMP |
539+
/// | `chrono::DateTime<UTC>` | TIMESTAMP WITH TIME ZONE |
540+
/// | `chrono::DateTime<Local>` | TIMESTAMP WITH TIME ZONE |
541+
/// | `chrono::DateTime<FixedOffset>` | TIMESTAMP WITH TIME ZONE |
542+
/// | `chrono::NaiveDate` | DATE |
543+
/// | `chrono::NaiveTime` | TIME |
544+
/// | `uuid::Uuid` | UUID |
545+
/// | `bit_vec::BitVec` | BIT, VARBIT |
546+
/// | `eui48::MacAddress` | MACADDR |
547547
///
548548
/// # Nullability
549549
///

0 commit comments

Comments
 (0)