mirror of
https://codeberg.org/icewind/bitbuffer.git
synced 2026-06-03 16:44:06 +02:00
clippy fix
This commit is contained in:
parent
f704ee9f9a
commit
55386818eb
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ impl<'a> Data<'a> {
|
|||
Data::Borrowed(bytes) => Rc::from(bytes.to_vec()),
|
||||
Data::Owned(bytes) => Rc::clone(bytes),
|
||||
};
|
||||
Data::Owned(bytes.into())
|
||||
Data::Owned(bytes)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue