Skip to content

Commit

Permalink
Added EmptyScan to std primitves f32 and f64
Browse files Browse the repository at this point in the history
  • Loading branch information
DrGabble committed Aug 6, 2020
1 parent 1e415f2 commit 8c28756
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/scan/std_impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ impl EmptyScan for u64 {}
impl EmptyScan for i128 {}
impl EmptyScan for u128 {}

impl EmptyScan for f32 {}
impl EmptyScan for f64 {}

// It's nice if other send types from std also get the scan treatment
// These are value types that have no internal content needing a scan
impl EmptyScan for String {}
Expand Down

0 comments on commit 8c28756

Please sign in to comment.