Skip to content

Commit 9534ba4

Browse files
committed
doc: add links
1 parent ac42bee commit 9534ba4

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ The core random number generation traits of Rand live in the [rand_core](
1616
https://crates.io/crates/rand_core) crate; this crate is most useful when
1717
implementing RNGs.
1818

19-
API reference:
20-
[master branch](https://rust-lang-nursery.github.io/rand/rand/index.html),
21-
[by release](https://docs.rs/rand/0.5).
19+
[Additional documentation is here](doc/README.md).
20+
[API reference is here](https://docs.rs/rand).
2221

2322
## Usage
2423

‎doc/README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Rand Documentation
22

3+
Also see the [main project readme](../README.md).
4+
35
## Learning Rand
46

57
TODO. In the mean-time, we have some learning resources within the API
@@ -113,7 +115,7 @@ We do not currently have many policies on style other than:
113115
Rand does **make use of `unsafe`**, both for performance and out of necessity.
114116
We consider this acceptable so long as correctness is easy to verify.
115117
In order to make this as simple as possible,
116-
we prefer that all parameters affecting safety of `unsafe` blocks as checked or
118+
we prefer that all parameters affecting safety of `unsafe` blocks are checked or
117119
prepared close to the `unsafe` code,
118120
and wherever possible within the same function (thus making the function safe).
119121

0 commit comments

Comments
 (0)