Skip to content

Commit 833ddfb

Browse files
accept @davidhewitt's suggestion
Co-authored-by: David Hewitt <[email protected]>
1 parent 327083c commit 833ddfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serializers/fields.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ impl SerField {
5353
}
5454
}
5555

56-
pub fn get_key_py<'py>(&'py self, py: Python<'py>, extra: &Extra) -> &'py Bound<'py, PyAny> {
56+
pub fn get_key_py<'py>(&self, py: Python<'py>, extra: &Extra) -> &Bound<'py, PyAny> {
5757
if extra.by_alias {
5858
if let Some(ref alias_py) = self.alias_py {
5959
return alias_py.bind(py);

0 commit comments

Comments
 (0)