warning: unused variable: `path`
drennvinn opened this issue · comments
drennvinn commented
This warning is caused by the path params in tweet.rs and like.rs.
you may avoid it by adding _ prefix to each params.
pub async fn get(_path: Path<(String,)>) ...
https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#unused-variables