summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/issue-4245.rs
blob: 57d7e192d0af61583b3c8d39b4befad6b8d0a80f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
) {}