Skip to main content

ps_str/path_utf8_encoder/variants/
path_buf.rs

1use std::path::PathBuf;
2
3use crate::PathUtf8Encoder;
4
5impl PathUtf8Encoder for PathBuf {
6    fn to_utf8_string(&self) -> String {
7        self.as_path().to_utf8_string()
8    }
9}