diff --git a/src/client.rs b/src/client.rs index 904c5ead9aa4c477906144358c3b33507d606478..5d0f1c54af5607b15c73a589647d975d8d1586d9 100644 --- a/src/client.rs +++ b/src/client.rs @@ -43,7 +43,7 @@ impl CoAPClient { }) } - // Execute a request with the coap url and a specific timeout. Default timeout is 5s. + /// Execute a request with the coap url and a specific timeout. Default timeout is 5s. pub fn request_with_timeout(url: &str, timeout: Option<Duration>) -> Result<Packet> { let mut url_parser = UrlParser::new(); url_parser.scheme_type_mapper(Self::coap_scheme_type_mapper);