From fb5ae055c384e5994b94160fc9a8dc3887332f37 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 27 Aug 2026 03:59:40 +0000 Subject: [PATCH 1/2] Update Rust to v1.98.0 --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 30a41bc..bf3e228 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.97.1" +channel = "1.98.0" profile = "default" From 4c41dacc67fa1a5d09ad44e8abe8e28cc6fceed8 Mon Sep 17 00:00:00 2001 From: Shunichiro Nomura Date: Sun, 30 Aug 2026 12:30:52 +0900 Subject: [PATCH 2/2] fix lint warnings --- crates/procnote-core/src/template/parser.rs | 2 +- src-tauri/src/commands/drop_point.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/procnote-core/src/template/parser.rs b/crates/procnote-core/src/template/parser.rs index c9050fb..46978bf 100644 --- a/crates/procnote-core/src/template/parser.rs +++ b/crates/procnote-core/src/template/parser.rs @@ -278,7 +278,7 @@ fn is_pure_task_list( .all(|item_index| direct_item_has_marker(events, item_index)) } -fn direct_item_has_marker(events: &[MarkdownEvent<'_>], item_start_index: usize) -> bool { +const fn direct_item_has_marker(events: &[MarkdownEvent<'_>], item_start_index: usize) -> bool { let mut item_depth = 1usize; let mut index = item_start_index + 1; while index < events.len() { diff --git a/src-tauri/src/commands/drop_point.rs b/src-tauri/src/commands/drop_point.rs index 33f5351..dfb4048 100644 --- a/src-tauri/src/commands/drop_point.rs +++ b/src-tauri/src/commands/drop_point.rs @@ -668,7 +668,7 @@ fn render_qr_svg(value: &str) -> Result { #[cfg(test)] #[expect(clippy::unwrap_used, reason = "unwrap is acceptable in tests")] mod tests { - use std::io::{Read as _, Write as _}; + use std::io::Write as _; use std::net::{TcpListener, TcpStream}; use std::sync::mpsc; use std::thread;