mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Update MSRV from 1.88 to 1.92 (#7793)
This commit is contained in:
@@ -285,8 +285,8 @@ fn create_clipboard_item(mime: &str, bytes: &[u8]) -> Result<web_sys::ClipboardI
|
||||
|
||||
let items = js_sys::Object::new();
|
||||
|
||||
// SAFETY: I hope so
|
||||
#[expect(unsafe_code, unused_unsafe)] // Weird false positive
|
||||
// SAFETY: I hope so
|
||||
unsafe {
|
||||
js_sys::Reflect::set(&items, &JsValue::from_str(mime), &blob)?
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user