Skip to content

Commit

Permalink
Delete unneeded imports in doc code
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Oct 18, 2024
1 parent e64c368 commit f3e2c48
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/number.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,6 @@ impl Number {
/// numbers.
///
/// ```
/// # use std::f64;
/// #
/// # use serde_json::Number;
/// #
/// assert!(Number::from_f64(256.0).is_some());
Expand Down Expand Up @@ -298,8 +296,6 @@ impl Number {
/// numbers.
///
/// ```
/// # use std::i128;
/// #
/// # use serde_json::Number;
/// #
/// assert!(Number::from_i128(256).is_some());
Expand Down

0 comments on commit f3e2c48

Please sign in to comment.