From 9aae28544836df5dca531ba19e9e81096a9a672a Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Tue, 26 May 2020 22:37:37 -0500 Subject: [PATCH] Fix compiler warning for 'windows' tests (dead_code) --- src/assets.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/assets.rs b/src/assets.rs index 073cf564..86c3fe0b 100644 --- a/src/assets.rs +++ b/src/assets.rs @@ -331,6 +331,7 @@ mod tests { .clone() } + #[cfg(unix)] fn syntax_for_file_os(&self, file_name: &OsStr) -> String { self.syntax_for_file_with_content_os(file_name, "") }