Skip to content

Commit 3dae621

Browse files
Alan Baldassarreclaude
authored andcommitted
fix: suppress new clippy lints for Rust 1.93
- Allow self_only_used_in_recursion in gantt.rs and mermaid.rs - Allow private_interfaces in wasm schedule_internal method These are intentional patterns: recursive methods keep &self for consistency, and schedule_internal is pub for test visibility only. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 954539b commit 3dae621

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

crates/utf8proj-render/src/gantt.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ impl HtmlGanttRenderer {
391391
result
392392
}
393393

394+
#[allow(clippy::only_used_in_recursion)]
394395
fn collect_tasks<'a>(
395396
&self,
396397
tasks: &'a [Task],

crates/utf8proj-render/src/mermaid.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ impl Renderer for MermaidRenderer {
270270

271271
impl MermaidRenderer {
272272
/// Collect first predecessor for each task
273+
#[allow(clippy::only_used_in_recursion)]
273274
fn collect_predecessors(
274275
&self,
275276
task: &utf8proj_core::Task,

crates/utf8proj-wasm/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,7 @@ impl Playground {
736736
///
737737
/// This method is used by both the WASM binding and unit tests.
738738
/// Not exposed to WASM because Result<PlaygroundScheduleData, String> is not WASM-compatible.
739+
#[allow(private_interfaces)]
739740
pub fn schedule_internal(
740741
&mut self,
741742
input: &str,

0 commit comments

Comments
 (0)