aboutsummaryrefslogtreecommitdiff
path: root/ctru-rs/src/services/fs.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-03-04 01:57:27 -0800
committerFuwn <[email protected]>2022-03-04 01:57:27 -0800
commitbd47c8e6dd0b7b988c210ab752127c413c4aab85 (patch)
tree83f0051c6c9f4021c5a4edc8bd1beebfbba3de73 /ctru-rs/src/services/fs.rs
parentadd me to AUTHORS.md (diff)
downloadarchived-ctru-rs-main.tar.xz
archived-ctru-rs-main.zip
fix(ctru-rs): warningsHEADmain
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);