19 lines
298 B
Rust
19 lines
298 B
Rust
// Test attributes and doc comments are preserved.
|
|
|
|
/// Blah blah blah.
|
|
impl Bar {
|
|
/// Blah blah blooo.
|
|
#[an_attribute]
|
|
fn foo(&mut self) -> isize {
|
|
}
|
|
|
|
/// Blah blah bing.
|
|
pub fn f2(self) {
|
|
(foo, bar)
|
|
}
|
|
|
|
#[another_attribute]
|
|
fn f3(self) -> Dog {
|
|
}
|
|
}
|