From 48dd80f3a95f02df2e43a4953f130e6586e23520 Mon Sep 17 00:00:00 2001 From: mh-northlander Date: Thu, 7 Nov 2024 10:59:34 +0900 Subject: [PATCH] clone requires pyo3:Python --- python/src/morpheme.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/morpheme.rs b/python/src/morpheme.rs index 913ee27c..57af7f22 100644 --- a/python/src/morpheme.rs +++ b/python/src/morpheme.rs @@ -216,7 +216,7 @@ impl PyMorphemeIter { } let morpheme = PyMorpheme { - list: self.list.clone(), + list: self.list.clone_ref(py), index: self.index, };