Skip to content

Commit 62ed021

Browse files
committed
update ouroboros and lockfile
1 parent fc67a2f commit 62ed021

File tree

3 files changed

+88
-73
lines changed

3 files changed

+88
-73
lines changed

Cargo.lock

Lines changed: 87 additions & 67 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ name = "regex_rs"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
ouroboros = "0.15.6"
12+
ouroboros = "0.17.0"
1313
pyo3 = "0.19.1"
1414
regex = { git = "https://github.com/circuitsacul/regex-adopt" }

src/split.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ use pyo3::prelude::*;
55

66
#[pyclass]
77
#[self_referencing(pub_extras)]
8-
#[derive(Debug)]
98
pub struct Split {
109
pub text: String,
1110
pub re: Arc<regex::Regex>,
@@ -40,8 +39,4 @@ impl Split {
4039

4140
self.with_split_mut(|split| split.next())
4241
}
43-
44-
pub fn __repr__(&self) -> String {
45-
format!("{self:#?}")
46-
}
4742
}

0 commit comments

Comments
 (0)