Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Commit d790168

Browse files
committed
Merge pull request #60 from gareins/master
Fix documentation: types
2 parents 988131c + 4d8fb03 commit d790168

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/json.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@
2626
//! Data types that can be encoded are JavaScript types (see the `Json` enum
2727
//! for more details):
2828
//!
29+
//! * `I64`: equivalent to rust's `i64`
30+
//! * `U64`: equivalent to rust's `u64`
31+
//! * `F64`: equivalent to rust's `f64`
2932
//! * `Boolean`: equivalent to rust's `bool`
30-
//! * `Number`: equivalent to rust's `f64`
3133
//! * `String`: equivalent to rust's `String`
3234
//! * `Array`: equivalent to rust's `Vec<T>`, but also allowing objects of
3335
//! different types in the

0 commit comments

Comments
 (0)