]> git.lizzy.rs Git - rust.git/blob - .gitattributes
Better English for documenting when to use unimplemented!()
[rust.git] / .gitattributes
1 [attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4
2
3 * text=auto eol=lf
4 *.cpp rust
5 *.h rust
6 *.rs rust diff=rust
7 *.fixed linguist-language=Rust
8 *.mir linguist-language=Rust
9 src/etc/installer/gfx/* binary
10 src/vendor/** -text
11 Cargo.lock linguist-generated=false
12 config.toml.example linguist-language=TOML
13
14 # Older git versions try to fix line endings on images and fonts, this prevents it.
15 *.png binary
16 *.ico binary
17 *.woff binary
18 *.woff2 binary
19
20 # Needed as part of converting rustfmt to a subtree, can hopefully be removed later.
21 src/tools/rustfmt/tests/source/issue-3494/crlf.rs -text
22 src/tools/rustfmt/tests/source/comment_crlf_newline.rs -text
23 src/tools/rustfmt/tests/source/configs/enum_discrim_align_threshold/40.rs -text
24 src/tools/rustfmt/tests/target/issue-3494/crlf.rs -text
25 src/tools/rustfmt/tests/target/comment_crlf_newline.rs -text
26 src/tools/rustfmt/tests/target/configs/enum_discrim_align_threshold/40.rs -text