Skip to content

Commit

Permalink
docs(data): Resolve deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Jul 23, 2024
1 parent 7d657c1 commit f8622b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/snapbox/src/data/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ pub trait IntoData: Sized {
/// use snapbox::str;
///
/// let expected = str![[r#"{"hello": "world"}"#]]
/// .json();
/// .is_json();
/// assert_eq!(expected.format(), snapbox::data::DataFormat::Json);
/// # }
/// ```
Expand All @@ -162,7 +162,7 @@ pub trait IntoData: Sized {
/// use snapbox::str;
///
/// let expected = str![[r#"{"hello": "world"}"#]]
/// .json_lines();
/// .is_jsonlines();
/// assert_eq!(expected.format(), snapbox::data::DataFormat::JsonLines);
/// # }
/// ```
Expand Down

0 comments on commit f8622b3

Please sign in to comment.