Skip to content

Commit 02a481e

Browse files
committed
Update README.md w.r.t. JS integers
1 parent 17a4922 commit 02a481e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ respectively. These types add bounds checking to ensure the contained value is
1616
within the range representable by a JavaScript `Number`. They provide useful
1717
trait implementations to easily convert from Rust's primitive integer types.
1818

19-
<small>* In the upcoming ECMAScript 2020, JavaScript will probably gain support
20-
for integers. There is a proposal for a [`BigInt`][mdn] type type that is not
21-
far from becoming part of the JavaScript specification. It won't make this crate
22-
obsolete in any way though, since there will still be lots of JS code using
23-
`Number`, and code in other languages that assumes its use.
19+
<small>* Since the creation of this crate, JavaScript has gained support for
20+
larger integers in the form of the [`BigInt`][mdn] type.
21+
It doesn't make this crate obsolete in any way though, since there is still
22+
lots of code that operates on JS `Number`s or puts the same bounds on integers
23+
as the types from this crate do.
2424
</small>
2525

2626
This crate requires rustc >= 1.46.

0 commit comments

Comments
 (0)