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:
parent
ce570c4787
commit
24893223b2
3 changed files with 2 additions and 6 deletions
|
@ -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(_))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue