refactor(lints): fix unused warnings in tests/docs

This commit is contained in:
Sean McArthur
2021-09-14 16:30:20 -07:00
parent 0a4b56acb8
commit e3ab409808
2 changed files with 2 additions and 0 deletions

View File

@@ -41,5 +41,6 @@ async fn fetch_json(url: hyper::Uri) -> Result<Vec<User>> {
#[derive(Deserialize, Debug)]
struct User {
id: i32,
#[allow(unused)]
name: String,
}