Skip to content

Commit

Permalink
Update ptr_metadata example
Browse files Browse the repository at this point in the history
Signed-off-by: Tin Svagelj <tin.svagelj@live.com>
  • Loading branch information
Caellian committed Aug 31, 2023
1 parent dc1fa57 commit b503611
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/ptr_metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fn main() {
let dog: ContiguousMemoryRef<dyn Greetable> =
storage.store(Dog("Rover".to_string())).into_dyn();

person1.print_hello();
person2.print_hello();
dog.print_hello();
person1.get().print_hello();
person2.get().print_hello();
dog.get().print_hello();
}

0 comments on commit b503611

Please sign in to comment.