hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit dbf510799d20337552e0e66b8a48193b7c538505
parent 4dde1e69a208fb3df48f2719f8df94e41adfc076
Author: Eyal Sawady <ecs@d2evs.net>
Date:   Sun,  8 May 2022 22:40:21 +0000

dirs::lookup: use fmt::fatalf where appropriate

Signed-off-by: Eyal Sawady <ecs@d2evs.net>

Diffstat:
Mdirs/xdg.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dirs/xdg.ha b/dirs/xdg.ha @@ -32,7 +32,7 @@ fn lookup(prog: str, var: str, default: str) str = { case void => yield; case let err: fs::error => - fmt::fatal("Error creating {}: {}", + fmt::fatalf("Error creating {}: {}", path, fs::strerror(err)); }; return path;