commit 845ccb5e518508f8d2b5ee96eee008ce2dd3abd4 Author: Eike Hein Date: Sun May 17 01:21:42 2015 +0200 Add text/rust for Rust source code. diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in index d03bf36..e113732 100644 --- a/freedesktop.org.xml.in +++ b/freedesktop.org.xml.in @@ -3153,6 +3153,11 @@ command to generate the output files. + + <_comment>Rust source code + + + <_comment>SC/Xspread spreadsheet diff --git a/tests/list b/tests/list index 6524ebc..2ad7eb8 100644 --- a/tests/list +++ b/tests/list @@ -294,6 +294,7 @@ test.pm application/x-perl test.t application/x-perl # Copied from http://en.wikipedia.org/wiki/Turtle_%28syntax%29#Example test.ttl text/turtle ox +test.rs text/rust ox # xml subtypes ../shared-mime-info-spec.xml application/x-docbook+xml xox diff --git a/tests/test.rs b/tests/test.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/tests/test.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}