Skip to content

Commit b6ac025

Browse files
authored
Fixed some typos
1 parent 3d8e2fe commit b6ac025

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const Reader = struct {
2424
2525
const IFace = Interface(struct {
2626
27-
// Our read requires a single non optional, non-const read function.
27+
// Our interface requires a single non optional, non-const read function.
2828
read: fn (*SelfType, buf: []u8) ReadError!usize,
2929
3030
}, interface.Storage.NonOwning); // This is a non owning interface, similar to Rust dyn traits.
@@ -79,4 +79,4 @@ test "Use our reader interface!" {
7979
8080
```
8181

82-
See exampls.zig for more examples.
82+
See examples.zig for more examples.

0 commit comments

Comments
 (0)