mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
Update MSRV to Rust 1.70.0 (#3310)
* Update to Rust 1.70 * Fix renamed clippy lint * Use let-else more * Code cleanup * Remove derelict Safety comments * Enable more clippy lints
This commit is contained in:
@@ -26,10 +26,6 @@ pub struct Clipboard {
|
||||
|
||||
impl Clipboard {
|
||||
/// Construct a new instance
|
||||
///
|
||||
/// # Safety
|
||||
///
|
||||
/// The returned `Clipboard` must not outlive the input `_display_target`.
|
||||
pub fn new(_display_target: &dyn HasRawDisplayHandle) -> Self {
|
||||
Self {
|
||||
#[cfg(all(feature = "arboard", not(target_os = "android")))]
|
||||
|
||||
Reference in New Issue
Block a user