fix for no_std
This commit is contained in:
parent
05374aa34d
commit
4f31665805
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ impl<'buffer> Clone for BufferRef<'buffer> {
|
|||
fn clone(&self) -> Self {
|
||||
match self {
|
||||
Self::Owned(buffer) => Self::Owned(buffer.clone()),
|
||||
Self::Borrowed(buffer) => Self::Owned((*buffer).to_owned()),
|
||||
Self::Borrowed(buffer) => Self::Owned((*buffer).clone()),
|
||||
Self::Arc(buffer) => Self::Arc(buffer.clone()),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue