Skip to content

Commit

Permalink
fix doctests in sqlx_core
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Jul 26, 2023
1 parent 896ab56 commit e0c74c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sqlx-core/src/types/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ use crate::types::Type;
/// # Example
///
/// ```
/// extern crate sqlx as sqlx_oldapi;
/// # use serde::Deserialize;
/// #[derive(Deserialize)]
/// struct Book {
Expand All @@ -38,6 +39,7 @@ use crate::types::Type;
///
/// Can also be used to turn the json/jsonb into a hashmap
/// ```
/// extern crate sqlx as sqlx_oldapi;
/// use std::collections::HashMap;
/// use serde::Deserialize;
///
Expand Down

0 comments on commit e0c74c4

Please sign in to comment.