diff options
| author | Teddy Wing | 2021-05-22 21:15:21 +0200 |
|---|---|---|
| committer | Teddy Wing | 2021-05-22 21:15:21 +0200 |
| commit | c4e58dfa08640ae3abc948a93f2ea0235a817c98 (patch) | |
| tree | 0ea0ac9d6d2fd1affd89de9cf467afdcfb289c5a /src | |
| parent | 7c9166dcb66433ca3c37351ed5c892aa04bf589a (diff) | |
| download | google-calendar-rsvp-c4e58dfa08640ae3abc948a93f2ea0235a817c98.tar.bz2 | |
local_data_file(): Update XDG file not found error message
The "error" prefix caused a redundant message on the console:
error: error getting XDG data path
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index f8b7d26..50bc2ed 100644 --- a/src/main.rs +++ b/src/main.rs @@ -220,7 +220,7 @@ fn local_data_file<P: AsRef<Path>>(file: P) -> anyhow::Result<PathBuf> { Ok( xdg_dirs.find_data_file(&file) - .ok_or(anyhow::anyhow!("error getting XDG data path"))? + .ok_or(anyhow::anyhow!("unable to get XDG data path"))? ) } |
