mirror of
https://github.com/rust-lang/rust
synced 2024-09-06 01:11:17 +00:00
13 lines
543 B
Rust
13 lines
543 B
Rust
// Ensure that we don't add an extra line containing nothing but whitespace in between the two
|
|
// parentheses of an empty argument list when line-wrapping a function declaration.
|
|
|
|
// ignore-tidy-linelength
|
|
|
|
pub struct Padding00000000000000000000000000000000000000000000000000000000000000000000000000000000;
|
|
|
|
// @has 'decl_line_wrapping_empty_arg_list/fn.create.html'
|
|
// @snapshot decl - '//pre[@class="rust item-decl"]'
|
|
pub fn create() -> Padding00000000000000000000000000000000000000000000000000000000000000000000000000000000 {
|
|
loop {}
|
|
}
|