Bläddra i källkod

chore: allow dead code on bundler::bundle::common::is_retina

Lucas Nogueira 4 år sedan
förälder
incheckning
c827604b4a
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      tooling/bundler/src/bundle/common.rs

+ 1 - 0
tooling/bundler/src/bundle/common.rs

@@ -16,6 +16,7 @@ use termcolor::{Color, ColorChoice, ColorSpec, StandardStream, WriteColor};
 /// "retina" icon.  Specifically, returns true the the file stem ends with
 /// "@2x" (a convention specified by the [Apple developer docs](
 /// https://developer.apple.com/library/mac/documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/Optimizing/Optimizing.html)).
+#[allow(dead_code)]
 pub fn is_retina<P: AsRef<Path>>(path: P) -> bool {
   path
     .as_ref()