From 9449c31c124a16ed86762e1fab4ffcf2f5103edc Mon Sep 17 00:00:00 2001 From: DenisBiryukov91 <155981813+DenisBiryukov91@users.noreply.github.com> Date: Fri, 29 Mar 2024 16:54:04 +0100 Subject: [PATCH] Correct generic name IntoSelector to TryIntoSelector in Session.get (#879) --- zenoh/src/session.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zenoh/src/session.rs b/zenoh/src/session.rs index 7cd495d378..5d508db815 100644 --- a/zenoh/src/session.rs +++ b/zenoh/src/session.rs @@ -774,13 +774,13 @@ impl Session { /// } /// # } /// ``` - pub fn get<'a, 'b: 'a, IntoSelector>( + pub fn get<'a, 'b: 'a, TryIntoSelector>( &'a self, - selector: IntoSelector, + selector: TryIntoSelector, ) -> GetBuilder<'a, 'b, DefaultHandler> where - IntoSelector: TryInto>, - >>::Error: Into, + TryIntoSelector: TryInto>, + >>::Error: Into, { let selector = selector.try_into().map_err(Into::into); let timeout = {