diff --git a/tonic/src/extensions.rs b/tonic/src/extensions.rs index 67a7137be..37d84b87b 100644 --- a/tonic/src/extensions.rs +++ b/tonic/src/extensions.rs @@ -55,7 +55,8 @@ impl Extensions { } #[inline] - pub(crate) fn from_http(http: http::Extensions) -> Self { + /// Convert from `http::Extensions` + pub fn from_http(http: http::Extensions) -> Self { Self { inner: http } }