diff --git a/man/rustc.1 b/man/rustc.1 index e4cfab7747f..6f84d0f8f71 100644 --- a/man/rustc.1 +++ b/man/rustc.1 @@ -122,8 +122,8 @@ To build an executable from a source file with a main function: To build a library from a source file: $ rustc --lib hello-lib.rs -To build either with a crate (.rc) file: - $ rustc hello.rc +To build either with a crate (.rs) file: + $ rustc hello.rs To build an executable with debug info (experimental): $ rustc -Z debug-info -o hello hello.rs diff --git a/src/etc/gedit/share/gtksourceview-3.0/language-specs/rust.lang b/src/etc/gedit/share/gtksourceview-3.0/language-specs/rust.lang index b8841ebe568..43700c02b75 100644 --- a/src/etc/gedit/share/gtksourceview-3.0/language-specs/rust.lang +++ b/src/etc/gedit/share/gtksourceview-3.0/language-specs/rust.lang @@ -5,7 +5,7 @@ text/x-rust - *.rs;*.rc + *.rs // /* */ diff --git a/src/etc/gedit/share/mime/packages/rust.xml b/src/etc/gedit/share/mime/packages/rust.xml index d75cffe9600..ede1c14907c 100644 --- a/src/etc/gedit/share/mime/packages/rust.xml +++ b/src/etc/gedit/share/mime/packages/rust.xml @@ -2,6 +2,5 @@ Rust Source - diff --git a/src/etc/kate/rust.xml b/src/etc/kate/rust.xml index db479e468d5..c1c5215ac0f 100644 --- a/src/etc/kate/rust.xml +++ b/src/etc/kate/rust.xml @@ -7,7 +7,7 @@ ]> - + fn diff --git a/src/etc/vim/ftdetect/rust.vim b/src/etc/vim/ftdetect/rust.vim index 10b616277c8..bf685d43243 100644 --- a/src/etc/vim/ftdetect/rust.vim +++ b/src/etc/vim/ftdetect/rust.vim @@ -1 +1 @@ -au BufRead,BufNewFile *.rs,*.rc set filetype=rust +au BufRead,BufNewFile *.rs set filetype=rust