Skip to content

Commit

Permalink
Merge pull request serde-rs#1202 from dtolnay/useprimitive
Browse files Browse the repository at this point in the history
Delete unneeded imports in doc code
  • Loading branch information
dtolnay authored Oct 18, 2024
2 parents e64c368 + f3e2c48 commit b4df0f8
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 b4df0f8

Please sign in to comment.