Skip to content

Commit

Permalink
Merge pull request #64 from kimond/patch-1
Browse files Browse the repository at this point in the history
Fix typo in object-orientation.md
  • Loading branch information
stevedonovan authored Apr 16, 2018
2 parents 33ce2f0 + 9d1dc74 commit 8275b64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object-orientation.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ What can I say? It quacks, it must be a duck. What's interesting is that you can
to any Rust value, not just 'objects'. (Since `quack` is passed a reference, there's an explicit
dereference `*` to get the integer.)

However, you can't do this with a trait and a type from the same crate, so the standard library
However, you can only do this with a trait and a type from the same crate, so the standard library
cannot be 'monkey patched', which is another piece of Ruby folk practice (and not the most wildly
admired either.)

Expand Down

0 comments on commit 8275b64

Please sign in to comment.