repo: remove now-incorrect comment

This commit is contained in:
Felix Krull 2018-10-07 23:50:41 +02:00 committed by Colin Walters
parent f26e0013a5
commit 4364598449

View File

@ -13,7 +13,6 @@ use ObjectName;
unsafe extern "C" fn read_variant_table(_key: glib_ffi::gpointer, value: glib_ffi::gpointer, hash_set: glib_ffi::gpointer) {
let value: glib::Variant = from_glib_none(value as *const glib_ffi::GVariant);
// TODO: this set is degenerate because g_variant_hash for my Variants is always 0
let set: &mut HashSet<ObjectName> = &mut *(hash_set as *mut HashSet<ObjectName>);
set.insert(ObjectName::new(value));
}