diff --git a/examples/simple.rs b/examples/simple.rs index a013375..b99a9e0 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -15,8 +15,6 @@ fn main() { let hm = Arc::new(RwLock::new(hm)); let phm = hm.clone(); - // the two names "PreferencesCallback" and "PrefCBS" should be unique for this app and different - // from each other. Doesn't matter what you call them otherwise. add_fly_item(&fly, "Prefs", Box::new(move || { diff --git a/src/lib.rs b/src/lib.rs index dd0ef92..8da2d5b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -79,9 +79,6 @@ impl Barfly { // this code is pretty much a rip off of // https://github.com/SSheldon/rust-objc-foundation/blob/master/examples/custom_class.rs -// would be nice to use some mangled ident names here base on $name, -// (and avoid the need for $cbs_name) -// but concat_idents! doesn't work in the cases that I want. enum Callback {} unsafe impl Message for Callback {}