Skip to content

Commit

Permalink
Update guide/src/migration.md
Browse files Browse the repository at this point in the history
Co-authored-by: David Hewitt <[email protected]>
  • Loading branch information
alex and davidhewitt authored Jul 30, 2023
1 parent 95c61c4 commit cbe97da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/src/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ fn add(a: u64, b: u64) -> u64 {
}
```

### `AsPyPointer` and `IntoPyPointer` now `unsafe` traits
### `AsPyPointer` and `IntoPyPointer` are now `unsafe` traits

The traits `AsPyPointer` and `IntoPyPointer` are now `unsafe trait`, meaning any external implementation of these traits must be marked as `unsafe impl`, and ensure they uphold the invariants of returning valid pointers.

Expand Down

0 comments on commit cbe97da

Please sign in to comment.