David Tolnay
1af098f3fe
Raise required rustc from 1.31 to 1.36
2021-12-10 18:06:04 -08:00
David Tolnay
ee03e0b34a
Resolve redundant_field_names clippy lint
2020-12-31 01:16:27 -08:00
David Tolnay
08ef5613ac
Resolve redundant_static_lifetimes clippy lint
2020-12-31 01:16:02 -08:00
Aphek
3872230fdb
Use float to_bits instead of transmuting to unsigned integer
2020-10-02 01:53:29 -03:00
David Tolnay
59383f3e2d
Remove edition override from doc tests
2020-05-29 21:46:55 -07:00
David Tolnay
b77ef45497
Organize imports
2020-05-29 21:44:08 -07:00
David Tolnay
0d29ec1cb9
Update to 2018 edition
2020-05-29 21:38:14 -07:00
David Tolnay
89b4848ec2
Skip init on clone
...
The cloned buffer's content is not observable until written into, so
there is no need to keep it identical to the old buffer's content.
2020-05-29 21:12:04 -07:00
David Tolnay
89345d4842
Fix stacked borrow violation
...
Miri flagged that we borrow a reference to just the first element and
then write through it to elements other than the first. The new
implementation borrows the whole buffer before writing.
2020-04-22 17:19:02 -07:00
David Tolnay
37308c72ab
Remove use of assume_init for arrays
2020-03-13 00:19:59 -07:00
David Tolnay
f6c68b7ce2
Format with rustfmt 2019-09-08
2019-10-14 07:25:48 -07:00
Kyle Clemens
fbaff474f6
fix: correct old rust builds
2019-10-08 20:39:21 -04:00
Kyle Clemens
ce57cdae6a
refactor: support uninitialized and MaybeUninit
2019-10-08 19:48:54 -04:00
Kyle Clemens
59e0841a96
refactor: use MaybeUninit over mem::uninitialized
2019-10-08 19:48:54 -04:00
David Tolnay
f69ee93c5f
Split format and format_finite
2019-06-11 11:43:22 -07:00
David Tolnay
6751c09662
Move write_to_ryu_buffer out of Float trait
...
This makes it inaccessible from outside the module.
2019-06-11 10:57:05 -07:00
David Tolnay
55037c1530
Hide Float methods in trait impl
2019-06-10 23:35:56 -07:00
David Tolnay
7a4eb56cc2
Concise name for raw functions
2019-06-10 23:35:56 -07:00
David Tolnay
ad7bffe61f
Update documentation to 2018 edition
2019-04-30 01:47:58 -07:00
David Tolnay
025c714765
Remove unneeded ```rust from rustdoc
2019-04-30 01:40:54 -07:00
David Tolnay
25c7e8664e
Document performance characteristics of Buffer::new
2018-08-07 10:03:22 -07:00
David Tolnay
17608a4c89
Lower level signature on the float methods
2018-08-05 15:13:52 -07:00
David Tolnay
d6ee87d862
Explain pretty behavior on non-finite input
2018-08-05 15:09:46 -07:00
David Tolnay
c0010545b3
Documentation comments
2018-08-05 14:41:22 -07:00
David Tolnay
10f0b1725d
More functions that can never panic
2018-08-04 16:01:37 -07:00
David Tolnay
1a39060255
Remove bounds check in pretty wrappers
2018-08-04 16:01:18 -07:00
David Tolnay
169585733b
Inline the buffer methods
2018-08-04 02:27:24 -07:00
David Tolnay
ef53abbec4
Buffer api
2018-08-04 02:17:18 -07:00
David Tolnay
1571d45d25
Add a safe interface
2018-08-04 02:07:54 -07:00