about summary refs log tree commit diff
path: root/src/formula/camino.rs
blob: 3393f583e14469049269250bd8e304523155203d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use camino::Utf8PathBuf;

use crate::formula::Formula;

pub struct Utf8PathFormula;

impl Utf8PathFormula {
	pub fn new() -> Self {
		Self {}
	}
}

impl From<Utf8PathFormula> for Formula<Utf8PathBuf> {
	fn from(_value: Utf8PathFormula) -> Self {
		Formula::new("Failed to parse [opt] as a path")
	}
}