We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c6c7bd commit a82a644Copy full SHA for a82a644
gio/tests/std_io_copy.rs
@@ -1,10 +1,9 @@
1
-use std::io;
2
-
3
-use gio::prelude::*;
4
5
#[test]
6
#[cfg(feature = "v2_36")]
7
fn std_io_copy_with_gio() {
+ use gio::prelude::*;
+ use std::io;
+
8
let bytes = glib::Bytes::from_owned([1, 2, 3]);
9
let mut read = gio::MemoryInputStream::new_from_bytes(&bytes).into_read();
10
let mut write = gio::MemoryOutputStream::new_resizable().into_write();
0 commit comments