Skip to content

Commit 175795e

Browse files
committed
Merge pull request #19868 from sourcefrog/master
Fix Markdown syntax in docs for OsRng Reviewed-by: steveklabnik
2 parents 7f7d3e8 + c270390 commit 175795e

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
#[allow(missing_copy_implementations)]
190192
pub struct OsRng {
@@ -256,7 +258,8 @@ mod imp {
256258
/// `/dev/urandom`, or from `getrandom(2)` system call if available.
257259
/// - Windows: calls `CryptGenRandom`, using the default cryptographic
258260
/// service provider with the `PROV_RSA_FULL` type.
259-
/// - iOS: calls SecRandomCopyBytes as /dev/(u)random is sandboxed
261+
/// - iOS: calls SecRandomCopyBytes as /dev/(u)random is sandboxed.
262+
///
260263
/// This does not block.
261264
pub struct OsRng {
262265
hcryptprov: HCRYPTPROV

0 commit comments

Comments
 (0)