Skip to content

Commit

Permalink
added missing proc-macro invocation to migration guide (#2209)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Mar 5, 2022
1 parent 576818d commit 01d8f1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions guide/src/migration.md
Expand Up @@ -51,6 +51,7 @@ use pyo3::types::PyString;
#[pyclass]
struct MyClass { }
#[pymethods]
impl MyClass {
fn __str__(&self) -> &'static [u8] {
b"hello, world"
Expand Down

0 comments on commit 01d8f1e

Please sign in to comment.