diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-04-02 15:47:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-02 09:47:57 -0400 |
commit | 058579da562989ed15c86598053644bbc86c6747 (patch) | |
tree | 7f0f2bf30684dcbb350b93d987771f17a4abd250 /core/examples/hello_world.rs | |
parent | adf57610904cb4f4ef25fb077f6e39c9017a4ea9 (diff) |
refactor(ops): remove variadic buffers (#9944)
Diffstat (limited to 'core/examples/hello_world.rs')
-rw-r--r-- | core/examples/hello_world.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/examples/hello_world.rs b/core/examples/hello_world.rs index 3b63d2bda..11fc5ff0e 100644 --- a/core/examples/hello_world.rs +++ b/core/examples/hello_world.rs @@ -35,7 +35,7 @@ fn main() { } // Write the contents of every buffer to stdout - for buf in zero_copy { + if let Some(buf) = zero_copy { out.write_all(&buf).unwrap(); } |