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/read.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/read.ccm')
| -rw-r--r-- | nihil.config/read.ccm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nihil.config/read.ccm b/nihil.config/read.ccm index 18f7213..fca78eb 100644 --- a/nihil.config/read.ccm +++ b/nihil.config/read.ccm @@ -7,16 +7,16 @@ module; #include <expected> #include <filesystem> -import nihil; - export module nihil.config:read; +import nihil; + namespace nihil::config { /* * Load the configuration from a file. */ export [[nodiscard]] auto read_from(std::filesystem::path const &filename) - -> std::expected<void, nihil::error>; + -> std::expected<void, error>; } // namespace nihil::config |
