commit 7a422b1f2e9cce8856334f9c8b66f04d7c713ff1
parent 6d3d2869bb2105c3a9ffb54ed816d8f53c56c1ed
Author: Martin Ashby <martin@ashbysoft.com>
Date: Thu, 24 Aug 2023 17:38:57 +0100
Fix readme code example
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
@@ -11,9 +11,10 @@ TODO:
- [ ] Zig package management
Code example:
-```
+```zig
const std = @import("std");
-const client = @import("smtp");
+const smtp = @import("smtp");
+const Client = smtp.Client;
pub fn main() !void {
const mail =