| 31 | impl std::ops::Deref for Path { |
| 32 | type Target = str; |
| 33 | |
| 34 | fn deref(&self) -> &Self::Target { |
| 35 | &self.canonical |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | impl std::borrow::Borrow<str> for Path { |
| 40 | fn borrow(&self) -> &str { |
| 41 | &self.canonical |
nothing calls this directly
no outgoing calls
no test coverage detected