Skip to content

Commit

Permalink
wrong return type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Jun 12, 2024
1 parent 248ba2b commit 2194121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commons/zenoh-protocol/src/core/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,8 @@ impl EntityGlobalIdProto {
pub struct EntityGlobalId(EntityGlobalIdProto);

impl EntityGlobalId {
pub fn zid(&self) -> ZenohIdProto {
self.0.zid
pub fn zid(&self) -> ZenohId {
self.0.zid.into()
}

pub fn eid(&self) -> EntityId {
Expand Down

0 comments on commit 2194121

Please sign in to comment.