mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-09 12:32:52 +00:00
Found in review: - Rule (f) missed `pub(in …)` functions, the visibility the guard's commit brought in (`declares` strips any `pub(…)`), and flagged names that merely end in its words (`dropdowns`): it now matches whole words of the name. - Inside `canvas` the narrowed visibility doesn't hold, and a router taken whole (`let r = &view.router;`) got past the checks by method name; such a use now counts as the router's (`takes_the_router`). - Docs: the router's module doc and `PagePress::Free` say a declined drag is nobody's once it starts; Prepare's note says a highlight's drag is Prepare's; Add text's paragraph note names `ParagraphCx::adding`; a test's doc claimed crop-mode keys it doesn't press. - One source each for the objects' menu test (`object_ui::menu_open`) and Edit text's gesture cancel (`cancel_pointer_gestures` calls `cancel_edit_text_gestures`); the page-menu test asserts an entry only the page's menu has. Each guard addition seen failing against a violation planted in `#[cfg(any())]` code in `canvas/area.rs`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>