Skip to content

Instantly share code, notes, and snippets.

@roneygomes
Created November 27, 2021 03:07
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save roneygomes/c6c231477b2bcd1627474e323d42c6ed to your computer and use it in GitHub Desktop.
let mut array_wrapper = ArrayWrapper {
buffer: vec![]
};
let media: &mut dyn Write = &mut array_wrapper;
write(media, "alô mundo!");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment