Skip to content

Commit

Permalink
Remove typos
Browse files Browse the repository at this point in the history
  • Loading branch information
levkk committed Oct 30, 2024
1 parent 74e90bb commit 7e96a15
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
11 changes: 0 additions & 11 deletions rwf/src/http/form.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,3 @@ impl FromFormData for FormData {
Ok(form_data.clone())
}
}

pub struct FormTest {
name: Option<String>,
}

impl FromFormData for FormTest {
fn from_form_data(form_data: &FormData) -> Result<Self, Error> {
let name = form_data.get::<String>("name");
Ok(Self { name })
}
}
2 changes: 1 addition & 1 deletion rwf/src/http/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ impl Server {
let _ = stream.flush().await;
}
Err(err) => {
debug!("2 {} error {:?}", peer_addr, err);
debug!("{} error {:?}", peer_addr, err);
}
}
}
Expand Down

0 comments on commit 7e96a15

Please sign in to comment.