1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-04-20 23:07:01 +00:00

remove unused code and fix lint warning

This commit is contained in:
Dominic 2020-11-20 01:30:12 +01:00
parent ce570c4787
commit 24893223b2
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
3 changed files with 2 additions and 6 deletions

View file

@ -110,10 +110,6 @@ enum MethodArgumentType {
}
impl MethodArgumentType {
fn is_state_ref(&self) -> bool {
matches!(self, Self::StateRef | Self::StateMutRef)
}
fn is_method_arg(&self) -> bool {
matches!(self, Self::MethodArg(_))
}