summaryrefslogtreecommitdiffstats
path: root/src/filetype.rs
diff options
context:
space:
mode:
authorBen S <ogham@bsago.me>2014-12-12 12:08:14 +0000
committerBen S <ogham@bsago.me>2014-12-12 12:08:14 +0000
commit4484982734e9c11c7c3845321e9043ece7c7aeb9 (patch)
tree4c923ab34e4d62f5103b95ba001cdeeaa47e5788 /src/filetype.rs
parent65f124fe39e4f935658d863df8e9fce6f0663bcb (diff)
Whitespace fixes
Diffstat (limited to 'src/filetype.rs')
-rw-r--r--src/filetype.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filetype.rs b/src/filetype.rs
index 72864fa..7a8f905 100644
--- a/src/filetype.rs
+++ b/src/filetype.rs
@@ -46,7 +46,7 @@ static CRYPTO_TYPES: &'static [&'static str] = &[
static COMPILED_TYPES: &'static [&'static str] = &[
"class", "elc", "hi", "o", "pyc" ];
-
+
static BUILD_TYPES: &'static [&'static str] = &[
"Makefile", "Cargo.toml", "SConstruct", "CMakeLists.txt",
"build.gradle", "Rakefile", "Gruntfile.js",
@@ -123,7 +123,7 @@ impl<'a> HasType for File<'a> {
else if self.is_tmpfile() || TEMP_TYPES.iter().any(|&s| s == ext) {
return Temp;
}
-
+
let source_files = self.get_source_files();
if source_files.len() == 0 {
return Normal;