Mikhail Kilin
3b7ef41cae
fix: resolve all 40 clippy warnings (dead_code, unused_imports, lints)
...
ci/woodpecker/pr/check Pipeline was successful
CI / Check (pull_request) Has been cancelled
CI / Format (pull_request) Has been cancelled
CI / Clippy (pull_request) Has been cancelled
CI / Build (macos-latest) (pull_request) Has been cancelled
CI / Build (ubuntu-latest) (pull_request) Has been cancelled
CI / Build (windows-latest) (pull_request) Has been cancelled
- Add #[allow(unused_imports)] on pub re-exports used only by lib/tests
- Add #[allow(dead_code)] on public API items unused in binary target
- Fix collapsible_if, redundant_closure, unnecessary_map_or in main.rs
- Prefix unused test variables with underscore
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-22 17:50:18 +03:00
Mikhail Kilin
93e43a59d0
docs: complete rustdoc documentation for all public APIs (P4.12)
...
Added comprehensive rustdoc documentation for all TDLib modules,
configuration, and utility functions.
TDLib modules documented:
- src/tdlib/auth.rs - AuthManager, AuthState (6 doctests)
- src/tdlib/chats.rs - ChatManager (8 doctests)
- src/tdlib/messages.rs - MessageManager (14 methods, 6 doctests)
- src/tdlib/reactions.rs - ReactionManager (3 doctests)
- src/tdlib/users.rs - UserCache, LruCache (2 doctests)
Configuration and utilities:
- src/config.rs - Config, ColorsConfig, GeneralConfig (4 doctests)
- src/formatting.rs - format_text_with_entities (2 doctests)
Documentation includes:
- Detailed descriptions of all public structs and methods
- Usage examples with code snippets
- Parameter and return value documentation
- Notes about async behavior and edge cases
- Cross-references between related functions
Total: 34 doctests (30 ignored for async, 4 compiled)
All 464 unit tests passing ✅
Priority 4.12 (Rustdoc) - 100% complete
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-02-01 01:03:30 +03:00