mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Update dependencies and pass all clippy's (#636)
* Cargo update https://pastebin.com/raw/KWNuJD9u * Cargo clippy +nightly * Remove deprecated clippy * Fix unbalanced backtick (now passes cargo {+nightly,} clippy)
This commit is contained in:
@@ -64,7 +64,6 @@
|
||||
clippy::option_option,
|
||||
clippy::path_buf_push_overwrite,
|
||||
clippy::ptr_as_ptr,
|
||||
clippy::pub_enum_variant_names,
|
||||
clippy::ref_option_ref,
|
||||
clippy::rest_pat_in_fully_bound_structs,
|
||||
clippy::same_functions_in_if_condition,
|
||||
@@ -79,7 +78,6 @@
|
||||
clippy::unused_self,
|
||||
clippy::useless_transmute,
|
||||
clippy::verbose_file_reads,
|
||||
clippy::wrong_pub_self_convention,
|
||||
clippy::zero_sized_map_values,
|
||||
future_incompatible,
|
||||
nonstandard_style,
|
||||
|
||||
@@ -334,7 +334,7 @@ impl Rect {
|
||||
|
||||
/// ## Convenience functions (assumes origin is towards left top):
|
||||
impl Rect {
|
||||
/// `min.x
|
||||
/// `min.x`
|
||||
#[inline(always)]
|
||||
pub fn left(&self) -> f32 {
|
||||
self.min.x
|
||||
|
||||
Reference in New Issue
Block a user