Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
oligamiq committed Dec 18, 2023
1 parent c30db49 commit aa942f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rust/iphone/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mod objc;
pub use objc::nick_name::NickName;
pub use self::objc::nick_name::NickName;

mod util {
use objc::runtime::NSObject;
Expand Down
2 changes: 1 addition & 1 deletion rust/macos/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mod objc;
pub use objc::nick_name::NickName;
pub use self::objc::nick_name::NickName;

mod util {
use objc::runtime::NSObject;
Expand Down
3 changes: 1 addition & 2 deletions rust/macos/objc/nick_name.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ use std::os::unix::ffi::OsStrExt;
use std::sync::Arc;
use std::sync::RwLock;

use objc::class;
use objc::msg_send;
use objc::{class, msg_send};

use crate::macos::util::id;
const _POSIX_HOST_NAME_MAX: libc::c_long = 255;
Expand Down

0 comments on commit aa942f9

Please sign in to comment.