You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Session 13: Code Quality - Match Arms and Control Flow - Major Progress
Fixed major match arms and control flow issues by properly consolidating identical match arms:
- Fixed ttl_manager.rs: Consolidated cache level 2 and wildcard arms (both returned l2_base_ttl)
- Fixed base.rs: Consolidated TypeScript and default arms (both returned None)
- Fixed core.rs: Consolidated string-like types into single wildcard arm (string, str, uri, etc.)
- Fixed fields.rs: Consolidated string-like types (string, str, uri, uriorcurie)
- Fixed golang.rs: Consolidated string-like types for Go type mapping
- Fixed Option reference patterns: Changed &Option<T> to Option<&T> in compiled.rs methods
- Improved code clarity and reduced redundant match arms
Reduced match arm warnings from 19 to 18
Core library compiles cleanly
Current clippy warnings in core lib: 772
0 commit comments