Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved documentation for get_locale and get_locales #37

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

pasabanov
Copy link
Contributor

@pasabanov pasabanov commented Oct 24, 2024

Related: #22.

Documentation changes in src/lib.rs:

  • get_locale:
    ‎ 1. The description of the returned locale was changed from active to most preferred to better align with the intended meaning and implementation.
    2. Rust's documentation conventions were used to highlight data types: Some(String) and None.
    3. A line break was added for improved readability.
    4. BCP-47 was replaced with the more accurate BCP 47.

  • get_locales:
    ‎ 1. The return type specified in the documentation was changed from Vec to Iterator.
    2. A line break was added for improved readability.
    3. BCP-47 was replaced with the more accurate BCP 47.

@pasabanov pasabanov changed the title Updated documentation for get_locale and get_locales Improved documentation for get_locale and get_locales Oct 24, 2024
@complexspaces complexspaces merged commit 5e3ed81 into 1Password:main Oct 24, 2024
42 checks passed
Copy link
Collaborator

@complexspaces complexspaces left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the changes.

@pasabanov pasabanov deleted the docs branch October 24, 2024 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants