Skip to content

Commit

Permalink
clone requires pyo3:Python
Browse files Browse the repository at this point in the history
  • Loading branch information
mh-northlander committed Nov 7, 2024
1 parent fb6f9e9 commit 48dd80f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/src/morpheme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ impl PyMorphemeIter {
}

let morpheme = PyMorpheme {
list: self.list.clone(),
list: self.list.clone_ref(py),
index: self.index,
};

Expand Down

0 comments on commit 48dd80f

Please sign in to comment.