Skip to content

Commit 0bebc34

Browse files
committed
update docs
1 parent 1c7af6c commit 0bebc34

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77
### Changed
88
- Updated optional dependencies to latest versions:
99
* `zercopy` 0.6 -> 0.8
10+
* `rand` 0.8 -> 0.9
11+
* `rand_distr` 0.4 -> 0.5
1012

1113
### Added
1214
- Added support for `arbitrary` crate. Fixes [#110]. By [@FL33TW00D].

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ See the [crate documentation](https://docs.rs/half/) for more details.
4747
- **`zerocopy`** — Enable `IntoBytes` and `FromBytes` trait implementations from the
4848
[`zerocopy`](https://crates.io/crates/zerocopy) crate.
4949

50-
- **`rand_distr`** — Enable sampling from distributions like `Uniform` and `Normal` from the
51-
[`rand_distr`](https://crates.io/crates/rand_distr) crate.
50+
- **`rand_distr`** — Enable sampling from distributions like `StandardUniform` and `StandardNormal`
51+
from the [`rand_distr`](https://crates.io/crates/rand_distr) crate.
5252

5353
- **`rkyv`** -- Enable zero-copy deserializtion with [`rkyv`](https://crates.io/crates/rkyv) crate.
5454

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,12 @@
188188
#![cfg_attr(
189189
feature = "rand_distr",
190190
doc = "
191-
[`Distribution`]: rand::distributions::Distribution"
191+
[`Distribution`]: rand::distr::Distribution"
192192
)]
193193
#![cfg_attr(
194194
not(feature = "rand_distr"),
195195
doc = "
196-
[`Distribution`]: https://docs.rs/rand/*/rand/distributions/trait.Distribution.html"
196+
[`Distribution`]: https://docs.rs/rand/*/rand/distr/trait.Distribution.html"
197197
)]
198198
#![cfg_attr(
199199
feature = "arbitrary",

0 commit comments

Comments
 (0)