mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fix typo on protocol handlers (#33565)
Signed-off-by: Wu Wayne <yuweiwu@pm.me>
This commit is contained in:
parent
78370fa6d0
commit
c519a2cdb6
3 changed files with 10 additions and 10 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue