mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -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:
@@ -6,7 +6,7 @@
|
||||
# -----------------------------------------------------------------------------
|
||||
# Section identical to the root clippy.toml:
|
||||
|
||||
msrv = "1.67"
|
||||
msrv = "1.70"
|
||||
|
||||
allow-unwrap-in-tests = true
|
||||
|
||||
@@ -17,9 +17,10 @@ avoid-breaking-exported-api = false
|
||||
max-fn-params-bools = 2 # TODO(emilk): decrease this to 1
|
||||
|
||||
# https://rust-lang.github.io/rust-clippy/master/index.html#/large_include_file
|
||||
max-include-file-size = 100000
|
||||
max-include-file-size = 1000000
|
||||
|
||||
too-many-lines-threshold = 100
|
||||
# https://rust-lang.github.io/rust-clippy/master/index.html#/type_complexity
|
||||
type-complexity-threshold = 350
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user