File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -93,8 +93,7 @@ impl PydanticUndefinedType {
93
93
UNDEFINED_CELL . get ( py) . unwrap ( ) . clone ( )
94
94
}
95
95
96
- fn __deepcopy__ ( & self , py : Python , memo : & PyAny ) -> Py < Self > {
97
- let _ = memo;
96
+ fn __deepcopy__ ( & self , py : Python , #[ allow( unused_variables) ] memo : & PyAny ) -> Py < Self > {
98
97
self . __copy__ ( py)
99
98
}
100
99
Original file line number Diff line number Diff line change @@ -142,8 +142,7 @@ impl PyUrl {
142
142
true // an empty string is not a valid URL
143
143
}
144
144
145
- pub fn __deepcopy__ ( & self , py : Python , memo : & PyDict ) -> Py < PyAny > {
146
- let _ = memo;
145
+ pub fn __deepcopy__ ( & self , py : Python , #[ allow( unused_variables) ] memo : & PyDict ) -> Py < PyAny > {
147
146
self . clone ( ) . into_py ( py)
148
147
}
149
148
Original file line number Diff line number Diff line change @@ -82,8 +82,7 @@ impl PySome {
82
82
}
83
83
84
84
#[ classmethod]
85
- pub fn __class_getitem__ ( cls : & PyType , item : & PyAny ) -> Py < PyType > {
86
- let _ = item;
85
+ pub fn __class_getitem__ ( cls : & PyType , #[ allow( unused_variables) ] item : & PyAny ) -> Py < PyType > {
87
86
cls. into_py ( cls. py ( ) )
88
87
}
89
88
You can’t perform that action at this time.
0 commit comments