mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-13 21:40:46 -05:00
Merge pull request #289 from kimshrier/exercise_092_typo
Remove repeated word "with"
This commit is contained in:
commit
f917f50be0
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ const Insect = union(enum) {
|
||||||
|
|
||||||
// Thanks to 'inline else', we can think of this print() as
|
// Thanks to 'inline else', we can think of this print() as
|
||||||
// being an interface method. Any member of this union with
|
// being an interface method. Any member of this union with
|
||||||
// with a print() method can be treated uniformly by outside
|
// a print() method can be treated uniformly by outside
|
||||||
// code without needing to know any other details. Cool!
|
// code without needing to know any other details. Cool!
|
||||||
pub fn print(self: Insect) void {
|
pub fn print(self: Insect) void {
|
||||||
switch (self) {
|
switch (self) {
|
||||||
|
|
Loading…
Reference in a new issue