diff options
| author | Lexi Winter <lexi@le-fay.org> | 2025-06-26 20:47:45 +0100 |
|---|---|---|
| committer | Lexi Winter <lexi@le-fay.org> | 2025-06-26 20:47:45 +0100 |
| commit | 90aa957ca9b7c217af7569009d1675e0f3ff8e9b (patch) | |
| tree | e6a61ca2b6928e6414372b9b1484ce80fa2fb0b3 /nihil.config/write.ccm | |
| parent | 1db86c401df11423c945634d8b2a483e97afa878 (diff) | |
| download | nihil-90aa957ca9b7c217af7569009d1675e0f3ff8e9b.tar.gz nihil-90aa957ca9b7c217af7569009d1675e0f3ff8e9b.tar.bz2 | |
ucl, config: use monadic error handling more
Diffstat (limited to 'nihil.config/write.ccm')
| -rw-r--r-- | nihil.config/write.ccm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nihil.config/write.ccm b/nihil.config/write.ccm index 1a07dd7..cb35d76 100644 --- a/nihil.config/write.ccm +++ b/nihil.config/write.ccm @@ -7,16 +7,16 @@ module; #include <expected> #include <filesystem> -import nihil; - export module nihil.config:write; +import nihil; + export namespace nihil::config { /* * Write all config values (except defaults) to disk. */ auto write_to(std::filesystem::path const &filename) -> - std::expected<void, nihil::error>; + std::expected<void, error>; }; |
