Skip to content

Commit

Permalink
Update documentation for NamedTupleLiteral#[]
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota authored Apr 3, 2018
1 parent 82caaf0 commit 5c8f62f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/crystal/macros.cr
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ module Crystal::Macros
def double_splat(trailing_string : StringLiteral = nil) : MacroId
end

# Similar to `NamedTuple#[]`
# Similar to `NamedTuple#[]` but returns `NilLiteral` if *key* is undefined.
def [](key : ASTNode) : ASTNode
end

Expand Down

0 comments on commit 5c8f62f

Please sign in to comment.