Improve comment on Channel::builder() (#597)
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user