From 836ecb0629a7e3f23d0f263085aec10ce64bab38 Mon Sep 17 00:00:00 2001 From: Denis Biryukov Date: Fri, 29 Mar 2024 16:17:33 +0100 Subject: [PATCH] Correct generic name IntoSelector to TryIntoSelector in Session.get --- 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 = {