Skip to content

Commit

Permalink
preparing to rust edition 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Jan 10, 2025
1 parent 30a908d commit f4c4c0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ members = [
"wa",
"frontends/rioterm"
]
resolver = "2"
resolver = "3"

[workspace.package]
version = "0.2.3"
Expand All @@ -19,7 +19,7 @@ edition = "2021"
license = "MIT"
keywords = ["graphics", "terminal", "application"]
# Minimal stable rust version (MSRV)
rust-version = "1.80.1"
rust-version = "1.84.0"
repository = "https://github.com/raphamorim/rio"
homepage = "https://raphamorim.io/rio"
documentation = "https://github.com/raphamorim/rio#readme"
Expand Down
2 changes: 1 addition & 1 deletion wa/src/native/macos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ unsafe fn view_base_decl(decl: &mut ClassDecl) {
) {
tracing::info!("insert_text_replacement_range");
let string = nsstring_to_string(astring);
let is_control = string.chars().next().map_or(false, |c| c.is_control());
let is_control = string.chars().next().is_some_and(|c| c.is_control());

if !is_control {
if let Some(payload) = get_display_payload(this) {
Expand Down

0 comments on commit f4c4c0a

Please sign in to comment.