Skip to content

Commit

Permalink
fix overload_overview.ck example comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gewang committed Apr 24, 2024
1 parent 7fdb6c8 commit d8ac7b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/oper/overload_overview.ck
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// let's say we define a custom class...
public class Foo { int num; }

// persistent operator overloading (trascends contexts)
// persistent operator overloading (transcends file contexts)
// NOTE the use of 'public' instead of 'fun' -- it's fun for all!
public Foo @operator =^( Foo lhs, Foo rhs )
{ /* do stuff for Foo =^ Foo */ return rhs; }
Expand Down

0 comments on commit d8ac7b5

Please sign in to comment.