aboutsummaryrefslogtreecommitdiff
path: root/ctru-rs/src/services/fs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ctru-rs/src/services/fs.rs')
-rw-r--r--ctru-rs/src/services/fs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctru-rs/src/services/fs.rs b/ctru-rs/src/services/fs.rs
index 29d30b6..a2cb830 100644
--- a/ctru-rs/src/services/fs.rs
+++ b/ctru-rs/src/services/fs.rs
@@ -878,7 +878,7 @@ fn truncate_utf16_at_nul<'a>(v: &'a [u16]) -> &'a [u16] {
// Implementations using this method have to adhere to two guarantees:
// * The implementation of read never reads the buffer provided.
// * The implementation of read correctly reports how many bytes were written.
-unsafe fn read_to_end_uninitialized(r: &mut Read, buf: &mut Vec<u8>) -> IoResult<usize> {
+unsafe fn read_to_end_uninitialized(r: &mut dyn Read, buf: &mut Vec<u8>) -> IoResult<usize> {
let start_len = buf.len();
buf.reserve(16);