We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dc1bea commit 00a521dCopy full SHA for 00a521d
src/lib.rs
@@ -104,7 +104,7 @@ fn pybgpkit_parser(_py: Python, m: &Bound<PyModule>) -> PyResult<()> {
104
105
#[pyo3(name = "__str__")]
106
fn str_repr(&self) -> PyResult<String> {
107
- Ok(format!("{}", serde_json::to_string(self).unwrap()))
+ Ok(serde_json::to_string(self).unwrap().to_string())
108
}
109
110
0 commit comments