mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-01-13 12:45:58 +00:00
Fix a typo
This commit is contained in:
parent
fa2a820906
commit
448aee0ed7
@ -527,7 +527,7 @@ implicit def myImplicitFunction(breed: String) = new Dog("Golden " + breed)
|
||||
myImplicitInt + 2 // => 102
|
||||
myImplicitFunction("Pitbull").breed // => "Golden Pitbull"
|
||||
|
||||
// The difference is that these values are now elligible to be used when another
|
||||
// The difference is that these values are now eligible to be used when another
|
||||
// piece of code "needs" an implicit value. One such situation is implicit
|
||||
// function arguments:
|
||||
def sendGreetings(toWhom: String)(implicit howMany: Int) =
|
||||
|
Loading…
Reference in New Issue
Block a user