Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jessekrubin committed Feb 19, 2025
1 parent 95aa6a3 commit 7322a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ryo3-fspath/src/pathlib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use pyo3::types::PyType;
use pyo3::{PyAny, PyResult};
use std::path::Path;

pub fn path2pathlib<'py, T: AsRef<Path>>(py: Python<'py>, path: T) -> PyResult<Bound<'py, PyAny>> {
pub(crate) fn path2pathlib<T: AsRef<Path>>(py: Python<'_>, path: T) -> PyResult<Bound<'_, PyAny>> {
static PATHLIB: GILOnceCell<Py<PyType>> = GILOnceCell::new();

PATHLIB
Expand Down

0 comments on commit 7322a52

Please sign in to comment.