Fix nightly CI dead_code warnings

This commit is contained in:
Kirill Chibisov
2024-02-08 13:28:26 +04:00
committed by GitHub
parent fedb86ea5a
commit 8936fe1acd
4 changed files with 1 additions and 19 deletions

View File

@@ -1,10 +1,6 @@
use icrate::Foundation::{NSNotFound, NSRange, NSUInteger};
use log::trace;
// Replace with `!` once stable
#[derive(Debug)]
pub enum Never {}
pub const EMPTY_RANGE: NSRange = NSRange {
location: NSNotFound as NSUInteger,
length: 0,