Skip to content

Commit

Permalink
chore: fix clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
chiichen committed Jan 11, 2025
1 parent 7f4e4e1 commit 5de79d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvnc/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl RfbClient {
///
/// This function should not be called expect `update` callback of ClientCallbackHandler
pub unsafe fn framebuffer_ptr(&self) -> *const u8 {
return unsafe { self.0.as_ref() }.frameBuffer as *const u8;
unsafe { self.0.as_ref() }.frameBuffer as *const u8
}
}
pub struct VncClient<T> {
Expand Down

0 comments on commit 5de79d0

Please sign in to comment.