aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.config/write.ccm
diff options
context:
space:
mode:
Diffstat (limited to 'nihil.config/write.ccm')
-rw-r--r--nihil.config/write.ccm6
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>;
};