We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa6f929 commit dd147d3Copy full SHA for dd147d3
.travis.yml
@@ -181,10 +181,6 @@ matrix:
181
script:
182
- cargo fmt --all -- */*.rs --check
183
184
- allow_failures:
185
- # Formatting errors should appear in Travis, but not break the build.
186
- - name: "rustfmt"
187
-
188
before_install:
189
- set -e
190
- rustup self update
src/lib.rs
@@ -269,7 +269,7 @@ cfg_if! {
269
/// [`rand::thread_rng`](https://docs.rs/rand/*/rand/fn.thread_rng.html).
270
pub fn getrandom(dest: &mut [u8]) -> Result<(), error::Error> {
271
if dest.is_empty() {
272
- return Ok(())
+ return Ok(());
273
}
274
imp::getrandom_inner(dest)
275
0 commit comments