chore: expose methods and structs (#1607)

This commit is contained in:
Roman Krasiuk
2023-03-02 16:29:00 +02:00
committed by GitHub
parent 9326b45821
commit 6501ce2956
3 changed files with 15 additions and 9 deletions

View File

@ -116,7 +116,8 @@ impl XdgPath for LogsDir {
/// A small helper trait for unit structs that represent a standard path following the XDG
/// path specification.
trait XdgPath {
pub trait XdgPath {
/// Resolve the standard path.
fn resolve() -> Option<PathBuf>;
}