on master help sign in
Fix compiler warning for 'windows' tests (dead_code)
9cc8e52Roy Ivy III
src/assets.rs+1
@@ -331,6 +331,7 @@ mod tests {
331 .clone()
331 .clone()
332 }
332 }
333
333
334+ #[cfg(unix)]
334 fn syntax_for_file_os(&self, file_name: &OsStr) -> String {
335 fn syntax_for_file_os(&self, file_name: &OsStr) -> String {
335 self.syntax_for_file_with_content_os(file_name, "")
336 self.syntax_for_file_with_content_os(file_name, "")
336 }
337 }