63fe7ccc43b2f4cd060186e79203a90b816f9d12
programming/20240331200415-rust.org
... | ... | @@ -1,11 +0,0 @@ |
1 | -:PROPERTIES: |
|
2 | -:ID: 9f95dfcf-db83-4c7c-b211-d7600f965f0a |
|
3 | -:END: |
|
4 | -#+title: Rust |
|
5 | - |
|
6 | -* General Notes |
|
7 | -** On the usage of =impl Trait= |
|
8 | - |
|
9 | -=impl Trait= *is not* intended as a replacement for dynamic dispatch (=dyn Trait=). |
|
10 | - |
|
11 | -It only allows to write a placeholder for some types that are unrepresentable, like closures and iterators. |
programming/rust.org
... | ... | @@ -0,0 +1,11 @@ |
1 | +:PROPERTIES: |
|
2 | +:ID: 9f95dfcf-db83-4c7c-b211-d7600f965f0a |
|
3 | +:END: |
|
4 | +#+title: Rust |
|
5 | + |
|
6 | +* General Notes |
|
7 | +** On the usage of =impl Trait= |
|
8 | + |
|
9 | +=impl Trait= *is not* intended as a replacement for dynamic dispatch (=dyn Trait=). |
|
10 | + |
|
11 | +It only allows to write a placeholder for some types that are unrepresentable, like closures and iterators. |