Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/procnote-core/src/template/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.97.1"
channel = "1.98.0"
profile = "default"
2 changes: 1 addition & 1 deletion src-tauri/src/commands/drop_point.rs
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ fn render_qr_svg(value: &str) -> Result<String, String> {
#[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;
Expand Down