b7c38c9d50
* Fixed comment dropped between & and type issue * Reduced nesting levels and avoided duplications * Removed extra allocations
35 lines
404 B
Rust
35 lines
404 B
Rust
fn a(
|
|
a: & // Comment
|
|
// Another comment
|
|
'a File,
|
|
) {
|
|
}
|
|
|
|
fn b(b: & /* Another Comment */ 'a File) {}
|
|
|
|
fn c(c: &'a /*Comment */ mut /*Comment */ File) {}
|
|
|
|
fn d(
|
|
c: & // Comment
|
|
'b // Multi Line
|
|
// Comment
|
|
mut // Multi Line
|
|
// Comment
|
|
File,
|
|
) {
|
|
}
|
|
|
|
fn e(
|
|
c: & // Comment
|
|
File,
|
|
) {
|
|
}
|
|
|
|
fn d(
|
|
c: & // Comment
|
|
mut // Multi Line
|
|
// Comment
|
|
File,
|
|
) {
|
|
}
|