Skip to content

Commit

Permalink
Remove item annotation in tuple struct
Browse files Browse the repository at this point in the history
  • Loading branch information
ricohageman committed Feb 24, 2022
1 parent 76233e1 commit fc186cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_frompyobject.rs
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ fn test_from_py_with() {

#[derive(Debug, FromPyObject)]
pub struct ZapTuple(
#[pyo3(item)] String,
String,
#[pyo3(from_py_with = "PyAny::len")] usize,
);

Expand Down

0 comments on commit fc186cd

Please sign in to comment.