Skip to content

Commit

Permalink
docs: update traits.md (#4892)
Browse files Browse the repository at this point in the history
referece -> reference
  • Loading branch information
eltociear authored Feb 7, 2025
1 parent 92b94c5 commit 18e8b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/src/conversions/traits.md
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ impl IntoPy<PyObject> for MyPyObjectWrapper {
⚠️ Warning: API update in progress 🛠️

PyO3 0.23 has introduced `IntoPyObject` as the new trait for to-python conversions. To migrate
implement `IntoPyObject` on a referece of your type (`impl<'py> IntoPyObject<'py> for &Type { ... }`).
implement `IntoPyObject` on a reference of your type (`impl<'py> IntoPyObject<'py> for &Type { ... }`).
</div>

[`ToPyObject`] is a conversion trait that allows various objects to be
Expand Down

0 comments on commit 18e8b16

Please sign in to comment.