You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-22 16:57:41 +02:00
Clarification in Trait Objects. (#379)
This commit is contained in:
@ -66,7 +66,7 @@ Memory layout after allocating `xs`:
|
||||
'- - - - - - - - - - - - - - - - - - - - - - - -'
|
||||
```
|
||||
|
||||
Similarly, you need a trait object if you want to return different values
|
||||
Similarly, you need a trait object if you want to return different types
|
||||
implementing a trait:
|
||||
|
||||
```rust,editable
|
||||
|
Reference in New Issue
Block a user