We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d8e2fe commit b6ac025Copy full SHA for b6ac025
README.md
@@ -24,7 +24,7 @@ const Reader = struct {
24
25
const IFace = Interface(struct {
26
27
- // Our read requires a single non optional, non-const read function.
+ // Our interface requires a single non optional, non-const read function.
28
read: fn (*SelfType, buf: []u8) ReadError!usize,
29
30
}, interface.Storage.NonOwning); // This is a non owning interface, similar to Rust dyn traits.
@@ -79,4 +79,4 @@ test "Use our reader interface!" {
79
80
```
81
82
-See exampls.zig for more examples.
+See examples.zig for more examples.
0 commit comments