Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit 4a7b7bd

Browse files
mh
1 parent 003bef7 commit 4a7b7bd

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

merde_core/src/into_static.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,14 @@ impl_into_static_passthru!(
9292
);
9393

9494
#[cfg(feature = "camino")]
95-
impl_into_static_passthru!(camino::Utf8PathBuf);
95+
impl IntoStatic for camino::Utf8PathBuf {
96+
type Output = camino::Utf8PathBuf;
97+
98+
#[inline(always)]
99+
fn into_static(self) -> Self::Output {
100+
self
101+
}
102+
}
96103

97104
impl<T: IntoStatic> IntoStatic for Box<T> {
98105
type Output = Box<T::Output>;

0 commit comments

Comments
 (0)