Skip to content

Commit 1d3c540

Browse files
committed
Fix serde docs
1 parent 07c7ffd commit 1d3c540

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tokio-postgres/src/types/serde_json_1.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use std::io::Read;
66

77
use crate::types::{FromSql, IsNull, ToSql, Type};
88

9+
/// A wrapper type to allow arbitrary `Serialize`/`Deserialize` types to convert to Postgres JSON values.
910
#[derive(Debug)]
1011
pub struct Json<T>(pub T);
1112

0 commit comments

Comments
 (0)