diff --git a/src/nodes.rs b/src/nodes.rs index b78f4c7..6067f51 100644 --- a/src/nodes.rs +++ b/src/nodes.rs @@ -939,7 +939,7 @@ impl Node { let topic_types: Vec = unsafe { topic_types .iter() - .map(|t| CStr::from_ptr(*((*t).data)).to_str().unwrap().to_owned()) + .map(|t| CStr::from_ptr(*(t.data)).to_str().unwrap().to_owned()) .collect() }; res.insert(topic_name, topic_types);