Skip to content

Commit 98360a0

Browse files
committed
Fix typo and improve formatting in #[pyo3(transparent)] field conversion documentation
1 parent 6f57ad6 commit 98360a0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

guide/src/conversions/traits.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -697,8 +697,7 @@ struct RustyStruct {
697697
# }
698698
```
699699

700-
This tries to convert a mapping with the key `"key"`.
701-
The `item` can take any valid literal.
700+
This tries to convert a mapping with the key `"key"`. The `item` can take any valid literal.
702701

703702
For structs with a single field (newtype pattern) the `#[pyo3(transparent)]` option can be used to forward the implementation to the inner type.
704703

0 commit comments

Comments
 (0)