Zero warnings on Windows and Linux, clippy included (W-02, L-02)
rustc and clippy are clean for the whole workspace, every target, on both. clippy --fix moved test modules last and took the shorter forms; long types got named aliases; ElyTree's form takes its title and button words as one pair. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c96d39a342
commit
9c9f9ab8f9
26 files changed
+73
-60
No files matched your search
@@ -45,8 +45,11 @@ pub struct Making {
|
||||
picture: Option<(PathBuf, f32)>,
|
||||
}
|
||||
|
||||
/// Points of each stroke.
|
||||
type Strokes = Vec<Vec<(f32, f32)>>;
|
||||
|
||||
/// Strokes moved to the corner, the longer side 1.
|
||||
pub fn fitted(strokes: &[Vec<(f32, f32)>]) -> Option<(Vec<Vec<(f32, f32)>>, f32)> {
|
||||
pub fn fitted(strokes: &[Vec<(f32, f32)>]) -> Option<(Strokes, f32)> {
|
||||
if strokes.iter().all(|stroke| stroke.len() < 2) {
|
||||
return None;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user