Fix typo on protocol handlers (#33565)

Signed-off-by: Wu Wayne <yuweiwu@pm.me>
This commit is contained in:
Ngo Iok Ui (Wu Yu Wei) 2024-09-27 16:16:27 +09:00 committed by GitHub
parent 78370fa6d0
commit c519a2cdb6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 10 deletions

View file

@ -23,9 +23,9 @@ use net_traits::ResourceFetchTiming;
use tokio::sync::mpsc::unbounded_channel;
#[derive(Default)]
pub struct ResourceProtocolHander {}
pub struct ResourceProtocolHandler {}
impl ResourceProtocolHander {
impl ResourceProtocolHandler {
pub fn response_for_path(
request: &mut Request,
done_chan: &mut DoneChannel,
@ -91,7 +91,7 @@ impl ResourceProtocolHander {
}
}
impl ProtocolHandler for ResourceProtocolHander {
impl ProtocolHandler for ResourceProtocolHandler {
fn load(
&self,
request: &mut Request,