mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 15:24:09 +03:00
remove extraneous end
This commit is contained in:
parent
364c367ff3
commit
d0e5042608
@ -631,7 +631,6 @@ fight(tigger,Lion("ROAR")) #=> prints The green-maned lion wins!
|
||||
|
||||
# We don't need a Tiger in order to fight
|
||||
fight(l::Lion,c::Cat) = println("The victorious cat says $(meow(c))")
|
||||
end
|
||||
#=> fight (generic function with 3 methods)
|
||||
|
||||
fight(Lion("balooga!"),Panther()) #=> prints The victorious cat says grrr
|
||||
|
Loading…
Reference in New Issue
Block a user