about summary refs log tree commit diff stats
path: root/yt/src
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-13 20:40:26 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-13 20:40:26 +0200
commitfa79bd7eef3824ad208984df9cc7784bdab5ba2b (patch)
tree5f1f95e0d0a4c9abb31c58832b4bbd78b72e1dd4 /yt/src
parentbuild(flake): Add `git-bug` to the devshell (diff)
downloadyt-fa79bd7eef3824ad208984df9cc7784bdab5ba2b.zip
build(treewide): Update
Diffstat (limited to 'yt/src')
-rw-r--r--yt/src/config/default.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/yt/src/config/default.rs b/yt/src/config/default.rs
index a1d327a..4ed643b 100644
--- a/yt/src/config/default.rs
+++ b/yt/src/config/default.rs
@@ -14,19 +14,19 @@ use std::path::PathBuf;
 use anyhow::{Context, Result};
 
 fn get_runtime_path(name: &'static str) -> Result<PathBuf> {
-    let xdg_dirs = xdg::BaseDirectories::with_prefix(PREFIX)?;
+    let xdg_dirs = xdg::BaseDirectories::with_prefix(PREFIX);
     xdg_dirs
         .place_runtime_file(name)
         .with_context(|| format!("Failed to place runtime file: '{name}'"))
 }
 fn get_data_path(name: &'static str) -> Result<PathBuf> {
-    let xdg_dirs = xdg::BaseDirectories::with_prefix(PREFIX)?;
+    let xdg_dirs = xdg::BaseDirectories::with_prefix(PREFIX);
     xdg_dirs
         .place_data_file(name)
         .with_context(|| format!("Failed to place data file: '{name}'"))
 }
 fn get_config_path(name: &'static str) -> Result<PathBuf> {
-    let xdg_dirs = xdg::BaseDirectories::with_prefix(PREFIX)?;
+    let xdg_dirs = xdg::BaseDirectories::with_prefix(PREFIX);
     xdg_dirs
         .place_config_file(name)
         .with_context(|| format!("Failed to place config file: '{name}'"))