feat: wayland feature

This commit is contained in:
Nova
2022-11-09 11:13:07 -05:00
parent 6b578fe044
commit 41e76c9d0a
5 changed files with 22 additions and 8 deletions

View File

@@ -45,6 +45,7 @@ impl EnvironmentItem {
}
fn get_path_flex(node: &Node, _calling_client: Arc<Client>, _data: &[u8]) -> Result<Vec<u8>> {
#[allow(unreachable_patterns)]
let path: Result<String> = match &node.item.get().unwrap().specialization {
ItemType::Environment(env) => Ok(env.path.clone()),
_ => Err(anyhow!("")),