mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-05-04 22:08:32 +00:00
remove some trailing spaces
This commit is contained in:
parent
e18bab117b
commit
912a51c8ba
@ -566,9 +566,9 @@ subtypes(Cat) # => 0-element Array{Any,1}
|
|||||||
subtypes(AbstractString) # 6-element Array{Union{DataType, UnionAll},1}:
|
subtypes(AbstractString) # 6-element Array{Union{DataType, UnionAll},1}:
|
||||||
# Base.SubstitutionString
|
# Base.SubstitutionString
|
||||||
# Base.Test.GenericString
|
# Base.Test.GenericString
|
||||||
# DirectIndexString
|
# DirectIndexString
|
||||||
# RevString
|
# RevString
|
||||||
# String
|
# String
|
||||||
# SubString
|
# SubString
|
||||||
|
|
||||||
# Every type has a super type; use the `supertype` function to get it.
|
# Every type has a super type; use the `supertype` function to get it.
|
||||||
@ -680,7 +680,7 @@ fight(Lion("balooga!"), Panther()) # => prints The victorious cat says grrr
|
|||||||
try
|
try
|
||||||
fight(Panther(), Lion("RAWR"))
|
fight(Panther(), Lion("RAWR"))
|
||||||
catch e
|
catch e
|
||||||
println(e)
|
println(e)
|
||||||
# => MethodError(fight, (Panther("green"), Lion("green", "RAWR")), 0x000000000000557b)
|
# => MethodError(fight, (Panther("green"), Lion("green", "RAWR")), 0x000000000000557b)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user