Skip to content

Commit

Permalink
Fix build by running rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
robinst authored and gnzlbg committed Mar 29, 2019
1 parent a3c2944 commit b645216
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ impl TestGenerator {
cfg: Vec::new(),
verbose_skip: false,
volatile_item: Box::new(|_| false),
array_arg: Box::new(|_,_| false),
array_arg: Box::new(|_, _| false),
skip_fn: Box::new(|_| false),
skip_fn_ptrcheck: Box::new(|_| false),
skip_static: Box::new(|_| false),
Expand Down Expand Up @@ -470,14 +470,13 @@ impl TestGenerator {
/// }});
/// ```
pub fn array_arg<F>(&mut self, f: F) -> &mut Self
where
where
F: Fn(&str, usize) -> bool + 'static,
{
self.array_arg = Box::new(f);
self
}


/// Configures how Rust `const`s names are translated to C.
///
/// The closure is given a Rust `const` name. The name of the corresponding
Expand Down
1 change: 0 additions & 1 deletion testcrate/src/t1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ extern "C" {
pub fn T1t(a: *mut *mut Arr);
pub fn T1v(a: *const *const Arr) -> !;


pub static T1static: c_uint;
}

Expand Down

0 comments on commit b645216

Please sign in to comment.