mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 00:56:14 +00:00
14 lines
383 B
Rust
14 lines
383 B
Rust
// Tests that a function which is almost short enough, but not quite, gets
|
|
// formatted correctly.
|
|
|
|
impl Foo {
|
|
fn some_input(&mut self,
|
|
input: Input,
|
|
input_path: Option<PathBuf>)
|
|
-> (Input, Option<PathBuf>) {
|
|
}
|
|
|
|
fn some_inpu(&mut self, input: Input, input_path: Option<PathBuf>) -> (Input, Option<PathBuf>) {
|
|
}
|
|
}
|