mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 23:20:39 +00:00
make cargo test pass
This commit is contained in:
parent
0a81f8257e
commit
dfccebe3e0
3 changed files with 4 additions and 4 deletions
|
@ -83,7 +83,7 @@ declare_clippy_lint! {
|
|||
/// # fn f(_: u32) {}
|
||||
/// # let x = 0;
|
||||
/// unsafe { f(x); }
|
||||
///
|
||||
///
|
||||
/// unsafe {
|
||||
/// let x = 1;
|
||||
/// f(x)
|
||||
|
@ -94,7 +94,7 @@ declare_clippy_lint! {
|
|||
/// # fn f(_: u32) {}
|
||||
/// # let x = 0;
|
||||
/// unsafe { f(x) };
|
||||
///
|
||||
///
|
||||
/// unsafe {
|
||||
/// let x = 1;
|
||||
/// f(x);
|
||||
|
|
|
@ -82,4 +82,4 @@ fn main() {
|
|||
{ unit_fn_block(); };
|
||||
|
||||
unit_fn_block()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -82,4 +82,4 @@ fn main() {
|
|||
{ unit_fn_block(); };
|
||||
|
||||
unit_fn_block()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue