Merge pull request #289 from kimshrier/exercise_092_typo

Remove repeated word "with"
This commit is contained in:
Chris Boesch 2023-05-07 17:39:21 +02:00 committed by GitHub
commit f917f50be0

View file

@ -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) {