Skip to content

Commit 74998e4

Browse files
Fix .gitattributes for test_data
1 parent 20eb2dd commit 74998e4

File tree

4 files changed

+225
-224
lines changed

4 files changed

+225
-224
lines changed

.gitattributes

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
* text=auto eol=lf
2+
23
# git grep shouldn't match entries in this benchmark data
34
bench_data/** binary
4-
crates/syntax/test_data/** -text eof=LF
5+
56
# Older git versions try to fix line endings on images, this prevents it.
67
*.png binary
78
*.jpg binary
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
type Foo<'a> = &'a dyn Send + Sync;
2-
type Foo = *const dyn Send + Sync;
3-
type Foo = fn() -> dyn Send + 'static;
4-
fn main() {
5-
let b = (&a) as &dyn Add<Other, Output = Addable> + Other;
6-
}
1+
type Foo<'a> = &'a dyn Send + Sync;
2+
type Foo = *const dyn Send + Sync;
3+
type Foo = fn() -> dyn Send + 'static;
4+
fn main() {
5+
let b = (&a) as &dyn Add<Other, Output = Addable> + Other;
6+
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
const mut FOO: () = ();
1+
const mut FOO: () = ();

0 commit comments

Comments
 (0)