1
0
зеркало из https://github.com/bspeice/speice.io synced 2026-11-18 09:51:20 -05:00
Этот коммит содержится в:
2020-08-10 11:16:08 -04:00
родитель f904fe87f6
Коммит fc83163b71
+2 -1
Просмотреть файл
@@ -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 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. trait name might not show up because `impl ClientExt for RemoteStruct` is defined elsewhere.
Alternately, `ClientExt: AnotherTrait` implementations where the default `ClientExt` implementation 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? # Automatic markers?