From f6f9879d23fa4e1726433f11cb6fa83c79d02ed0 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Fri, 7 Feb 2025 19:30:40 +0900 Subject: [PATCH] docs: update traits.md (#4892) referece -> reference --- guide/src/conversions/traits.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/src/conversions/traits.md b/guide/src/conversions/traits.md index 1aa445cce41..d6d29490dee 100644 --- a/guide/src/conversions/traits.md +++ b/guide/src/conversions/traits.md @@ -746,7 +746,7 @@ impl IntoPy 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 { ... }`). [`ToPyObject`] is a conversion trait that allows various objects to be