mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-13 22:22:31 +00:00
Fix typo
This commit is contained in:
parent
5d6160f80d
commit
be0f24b9e6
1 changed files with 3 additions and 3 deletions
|
@ -20,11 +20,11 @@ where
|
||||||
let ret;
|
let ret;
|
||||||
if header.flags.unsynchronisation {
|
if header.flags.unsynchronisation {
|
||||||
// Unsynchronize the entire tag
|
// Unsynchronize the entire tag
|
||||||
let mut unsyncronized_reader = UnsynchronizedStream::new(tag_bytes);
|
let mut unsynchronized_reader = UnsynchronizedStream::new(tag_bytes);
|
||||||
ret = read_all_frames_into_tag(&mut unsyncronized_reader, header, parse_mode)?;
|
ret = read_all_frames_into_tag(&mut unsynchronized_reader, header, parse_mode)?;
|
||||||
|
|
||||||
// Get the `Take` back from the `UnsynchronizedStream`
|
// Get the `Take` back from the `UnsynchronizedStream`
|
||||||
tag_bytes = unsyncronized_reader.into_inner();
|
tag_bytes = unsynchronized_reader.into_inner();
|
||||||
} else {
|
} else {
|
||||||
ret = read_all_frames_into_tag(&mut tag_bytes, header, parse_mode)?;
|
ret = read_all_frames_into_tag(&mut tag_bytes, header, parse_mode)?;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue