1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

clippy lints

This commit is contained in:
John Harrington
2025-12-02 15:25:24 -07:00
parent dc9b05b620
commit f773081802

View File

@@ -62,9 +62,7 @@ pub mod sandbox {
let path_ptr = unsafe { startBrowserAccess(c_name.as_ptr()) };
if path_ptr.is_null() {
return Err(anyhow!(
"Existing security scoped access has become stale"
));
return Err(anyhow!("Existing security scoped access has become stale"));
}
unsafe { libc::free(path_ptr as *mut libc::c_void) };