File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ where
102102 ///
103103 /// This returns the topic name after remapping, so it is not necessarily the
104104 /// topic name which was used when creating the publisher.
105- pub fn get_topic ( & self ) -> String {
105+ pub fn topic_name ( & self ) -> String {
106106 // SAFETY: No preconditions for the functions called.
107107 // The unsafe variables created get converted to safe types before being returned
108108 unsafe {
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ where
129129 ///
130130 /// This returns the topic name after remapping, so it is not necessarily the
131131 /// topic name which was used when creating the subscription.
132- pub fn get_topic ( & self ) -> String {
132+ pub fn topic_name ( & self ) -> String {
133133 // SAFETY: No preconditions for the function used
134134 // The unsafe variables get converted to safe types before being returned
135135 unsafe {
You can’t perform that action at this time.
0 commit comments