From b91885f80449f548ce4a8b28dba37e7a75595855 Mon Sep 17 00:00:00 2001 From: Fangdun Tsai Date: Fri, 15 Dec 2023 19:58:58 +0800 Subject: [PATCH] chore(core): add Sealed for Requext and Response --- viz-core/src/request.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viz-core/src/request.rs b/viz-core/src/request.rs index f4597159..729de022 100644 --- a/viz-core/src/request.rs +++ b/viz-core/src/request.rs @@ -35,7 +35,7 @@ use crate::types::Session; #[cfg(feature = "params")] use crate::types::{ParamsError, PathDeserializer, RouteInfo}; -/// The [Request] Extension. +/// The [`Request`] Extension. pub trait RequestExt: private::Sealed + Sized { /// Get URL's schema of this request. fn schema(&self) -> Option<&http::uri::Scheme>;