From 9d1dc74371a3b1b8294a58e7ee33a6b971c411c0 Mon Sep 17 00:00:00 2001 From: Kim Desrosiers Date: Fri, 13 Apr 2018 16:03:03 -0400 Subject: [PATCH] Fix typo in object-orientation.md --- src/object-orientation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object-orientation.md b/src/object-orientation.md index 1405fde..3456575 100644 --- a/src/object-orientation.md +++ b/src/object-orientation.md @@ -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.)