Skip to content

Commit 8ef4120

Browse files
committed
rollup merge of #19868: sourcefrog/master
The rendered form in http://doc.rust-lang.org/nightly/std/rand/struct.OsRng.html looks wrong.
2 parents d960146 + c270390 commit 8ef4120

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/libstd/rand/os.rs

+6-3
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ mod imp {
117117
/// `/dev/urandom`, or from `getrandom(2)` system call if available.
118118
/// - Windows: calls `CryptGenRandom`, using the default cryptographic
119119
/// service provider with the `PROV_RSA_FULL` type.
120-
/// - iOS: calls SecRandomCopyBytes as /dev/(u)random is sandboxed
120+
/// - iOS: calls SecRandomCopyBytes as /dev/(u)random is sandboxed.
121+
///
121122
/// This does not block.
122123
pub struct OsRng {
123124
inner: OsRngInner,
@@ -184,7 +185,8 @@ mod imp {
184185
/// `/dev/urandom`, or from `getrandom(2)` system call if available.
185186
/// - Windows: calls `CryptGenRandom`, using the default cryptographic
186187
/// service provider with the `PROV_RSA_FULL` type.
187-
/// - iOS: calls SecRandomCopyBytes as /dev/(u)random is sandboxed
188+
/// - iOS: calls SecRandomCopyBytes as /dev/(u)random is sandboxed.
189+
///
188190
/// This does not block.
189191
pub struct OsRng {
190192
marker: marker::NoCopy
@@ -254,7 +256,8 @@ mod imp {
254256
/// `/dev/urandom`, or from `getrandom(2)` system call if available.
255257
/// - Windows: calls `CryptGenRandom`, using the default cryptographic
256258
/// service provider with the `PROV_RSA_FULL` type.
257-
/// - iOS: calls SecRandomCopyBytes as /dev/(u)random is sandboxed
259+
/// - iOS: calls SecRandomCopyBytes as /dev/(u)random is sandboxed.
260+
///
258261
/// This does not block.
259262
pub struct OsRng {
260263
hcryptprov: HCRYPTPROV

0 commit comments

Comments
 (0)