Skip to content

fix(#398): remove unused Array1/ArrayView1 imports from svm/mod.rs - #431

Closed
Mec-iS wants to merge 9 commits into
developmentfrom
fix/398-dead-code-cleanup-errors
Closed

fix(#398): remove unused Array1/ArrayView1 imports from svm/mod.rs#431
Mec-iS wants to merge 9 commits into
developmentfrom
fix/398-dead-code-cleanup-errors

Conversation

@Mec-iS

@Mec-iS Mec-iS commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

Follows up on the dead-code cleanup in #398.

After removing pub mod search; from svm/mod.rs, two imports that were only needed by the deleted svm/search/ subtree were left behind:

// removed
use crate::linalg::basic::arrays::{Array1, ArrayView1};

Neither Array1 nor ArrayView1 are used anywhere in svm/mod.rs itself — they were only transitively needed by svc_params.rs / svr_params.rs. Leaving them in place triggers an unused-import warning (or #[expect] failure under the stricter lint setup introduced in the cleanup commits).

Changes

  • src/svm/mod.rs — removed the stale Array1 / ArrayView1 import line

Related

@Mec-iS Mec-iS closed this Aug 10, 2026
@Mec-iS
Mec-iS deleted the fix/398-dead-code-cleanup-errors branch August 10, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant