Skip to content

Commit 001988e

Browse files
committed
fix clippy error
1 parent 714aa70 commit 001988e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dataframe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ struct PythonFormatter<'py> {
125125
}
126126

127127
/// Get the Python formatter and its configuration
128-
fn get_python_formatter_with_config<'py>(py: Python<'py>) -> PyResult<PythonFormatter<'py>> {
128+
fn get_python_formatter_with_config(py: Python) -> PyResult<PythonFormatter> {
129129
let formatter = import_python_formatter(py)?;
130130
let config = build_formatter_config_from_python(&formatter)?;
131131
Ok(PythonFormatter { formatter, config })

0 commit comments

Comments
 (0)