Skip to content

Docs: Add rustdoc examples for Request::new_from_response and Captcha::set_remoteip #1478

@gortavoher

Description

@gortavoher

Add concise rustdoc examples: (1) Request::new_from_response showing error handling with ? and no network call, (2) Captcha::set_remoteip demonstrating that empty string clears to None. Acceptance: examples compile as doctests; no API or behavior changes; keep under ~20 lines each.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationDocs or examples improvementsgood first issueSmall, well-scoped task for newcomershelp wantedCommunity contributions welcometestsTest-only change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions