macOS: Move util::EMPTY_RANGE to usage spot (#3685)
This commit is contained in:
parent
0a3cacd577
commit
cb39ab29f4
2 changed files with 7 additions and 8 deletions
|
|
@ -1,8 +1,5 @@
|
|||
use objc2_foundation::{NSNotFound, NSRange, NSUInteger};
|
||||
use tracing::trace;
|
||||
|
||||
pub static EMPTY_RANGE: NSRange = NSRange { location: NSNotFound as NSUInteger, length: 0 };
|
||||
|
||||
macro_rules! trace_scope {
|
||||
($s:literal) => {
|
||||
let _crate = $crate::platform_impl::platform::util::TraceGuard::new(module_path!(), $s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue