From fc83163b7173114ea52c561580ecc07ca2315a64 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Mon, 10 Aug 2020 11:16:08 -0400 Subject: [PATCH] Minor tweak --- _posts/2020-08-05-static-polymorphism.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_posts/2020-08-05-static-polymorphism.md b/_posts/2020-08-05-static-polymorphism.md index ab7e9f6..0661ba8 100644 --- a/_posts/2020-08-05-static-polymorphism.md +++ b/_posts/2020-08-05-static-polymorphism.md @@ -144,7 +144,8 @@ must be defined on the remote type. Rust makes this weird because you have to `use ClientExt` to bring the methods in scope, but the trait name might not show up because `impl ClientExt for RemoteStruct` is defined elsewhere. Alternately, `ClientExt: AnotherTrait` implementations where the default `ClientExt` implementation -is used. +is used. To do this, Rust compiles the entire crate as a single translation unit, and the orphan +rule. # Automatic markers?