Improve comment on Channel::builder() (#597)

This commit is contained in:
Dirkjan Ochtman
2021-04-07 14:26:33 +02:00
committed by GitHub
parent db22c3568d
commit 380049daf8
+1 -1
View File
@@ -77,7 +77,7 @@ pub struct ResponseFuture {
} }
impl Channel { impl Channel {
/// Create a [`Endpoint`] builder that can create a [`Channel`]'s. /// Create an [`Endpoint`] builder that can create [`Channel`]s.
pub fn builder(uri: Uri) -> Endpoint { pub fn builder(uri: Uri) -> Endpoint {
Endpoint::from(uri) Endpoint::from(uri)
} }