Fix clippy lint in runtime:🪟:screenshot
This commit is contained in:
parent
45254ab88c
commit
f5bc336d69
1 changed files with 3 additions and 3 deletions
|
|
@ -80,9 +80,9 @@ impl AsRef<[u8]> for Screenshot {
|
|||
}
|
||||
}
|
||||
|
||||
impl Into<Bytes> for Screenshot {
|
||||
fn into(self) -> Bytes {
|
||||
self.bytes
|
||||
impl From<Screenshot> for Bytes {
|
||||
fn from(screenshot: Screenshot) -> Self {
|
||||
screenshot.bytes
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue