2019-01-26 23:33:03 -06:00
|
|
|
// rustfmt-version: One
|
2015-04-23 01:30:12 -05:00
|
|
|
// Tests that a function which is almost short enough, but not quite, gets
|
|
|
|
// formatted correctly.
|
|
|
|
|
|
|
|
impl Foo {
|
2017-06-11 23:01:41 -05:00
|
|
|
fn some_input(
|
|
|
|
&mut self,
|
|
|
|
input: Input,
|
|
|
|
input_path: Option<PathBuf>,
|
|
|
|
) -> (Input, Option<PathBuf>) {
|
2015-04-23 01:30:12 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
fn some_inpu(&mut self, input: Input, input_path: Option<PathBuf>) -> (Input, Option<PathBuf>) {
|
|
|
|
}
|
|
|
|
}
|
2017-08-01 08:26:37 -05:00
|
|
|
|
|
|
|
// #1843
|
|
|
|
#[allow(non_snake_case)]
|
2019-01-26 23:33:03 -06:00
|
|
|
pub extern "C" fn Java_com_exonum_binding_storage_indices_ValueSetIndexProxy_nativeContainsByHash(
|
|
|
|
) -> bool {
|
2017-08-01 08:26:37 -05:00
|
|
|
false
|
|
|
|
}
|
2018-09-10 23:30:36 -05:00
|
|
|
|
|
|
|
// #3009
|
|
|
|
impl Something {
|
2019-01-26 23:33:03 -06:00
|
|
|
fn my_function_name_is_way_to_long_but_used_as_a_case_study_or_an_example_its_fine(
|
|
|
|
) -> Result<(), String> {
|
2018-09-10 23:30:36 -05:00
|
|
|
}
|
|
|
|
}
|