mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-23 06:03:07 +03:00
Merge pull request #3905 from caminsha/en/crystal_smalltypos
[crystal/en] Fixed typo and reference url
This commit is contained in:
commit
ecca2c3837
@ -229,7 +229,7 @@ b #=> 'b'
|
|||||||
c #=> "c"
|
c #=> "c"
|
||||||
|
|
||||||
# Procs represent a function pointer with an optional context (the closure data)
|
# Procs represent a function pointer with an optional context (the closure data)
|
||||||
# It is typically created with a proc litteral
|
# It is typically created with a proc literal
|
||||||
proc = ->(x : Int32) { x.to_s }
|
proc = ->(x : Int32) { x.to_s }
|
||||||
proc.class # Proc(Int32, String)
|
proc.class # Proc(Int32, String)
|
||||||
# Or using the new method
|
# Or using the new method
|
||||||
@ -551,4 +551,4 @@ ex #=> "ex2"
|
|||||||
|
|
||||||
## Additional resources
|
## Additional resources
|
||||||
|
|
||||||
- [Official Documentation](http://crystal-lang.org/)
|
- [Official Documentation](https://crystal-lang.org/)
|
||||||
|
Loading…
Reference in New Issue
Block a user