diff options
author | kyoheiu <kyoheiu@outlook.com> | 2022-11-18 17:16:18 +0900 |
---|---|---|
committer | kyoheiu <kyoheiu@outlook.com> | 2022-11-18 17:16:18 +0900 |
commit | 0695ab583fb00a18df377c1ded8282d4cdf851fc (patch) | |
tree | ddcdc75ed3ffd2cfcdc66a5af6bcaf49137a49f4 /src/layout.rs | |
parent | 616f95ea96ccbfcd9ab76eb94c421144228a9379 (diff) |
Remove unused const
Diffstat (limited to 'src/layout.rs')
-rw-r--r-- | src/layout.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/layout.rs b/src/layout.rs index e59bfde..7a11411 100644 --- a/src/layout.rs +++ b/src/layout.rs @@ -15,10 +15,6 @@ use syntect::util::{as_24_bit_terminal_escaped, split_at, LinesWithEndings}; /// cf: https://docs.rs/image/latest/src/image/image.rs.html#84-112 pub const MAX_SIZE_TO_PREVIEW: u64 = 1_000_000_000; -pub const IMAGE_EXTENSION: [&str; 20] = [ - "avif", "jpg", "jpeg", "png", "gif", "webp", "tif", "tiff", "tga", "dds", "bmp", "ico", "hdr", - "exr", "pbm", "pam", "ppm", "pgm", "ff", "farbfeld", -]; pub const CHAFA_WARNING: &str = "From v1.1.0, the image preview needs chafa. For more details, please see help by `:h` "; |