Run cargo fmt

Run the formatter and commit only the changes to `owned`, no other
changes.
This commit is contained in:
Tobin C. Harding 2024-08-18 07:51:09 +10:00
parent 3fdc574851
commit ae0a5bd64a
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 115 additions and 119 deletions

View File

@ -280,15 +280,11 @@ pub(crate) struct ScriptBufAsVec<'a>(&'a mut ScriptBuf, Vec<u8>);
impl<'a> core::ops::Deref for ScriptBufAsVec<'a> {
type Target = Vec<u8>;
fn deref(&self) -> &Self::Target {
&self.1
}
fn deref(&self) -> &Self::Target { &self.1 }
}
impl<'a> core::ops::DerefMut for ScriptBufAsVec<'a> {
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.1
}
fn deref_mut(&mut self) -> &mut Self::Target { &mut self.1 }
}
impl<'a> Drop for ScriptBufAsVec<'a> {