1//! Contains the FindInPath implementation for &Path 2 3use crate::prelude::*; 4use std::path::Path; 5 6impl FindInPath for &Path { 7 fn find_in_path(&self) -> Option<std::path::PathBuf> { 8 self.to_string_lossy().as_ref().find_in_path() 9 } 10}