Skip to content

Fix typos #2649

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix typos #2649

wants to merge 1 commit into from

Conversation

kianmeng
Copy link

This Pull Request fixes/closes #{issue_num}.

It changes the following:

  • Fix typos found via typos --hidden --format brief

I followed the checklist:

  • I added unittests
  • I ran make check without errors
  • I tested the overall application
  • I added an appropriate item to the changelog

Found via `typos --hidden --format brief`
Copy link
Collaborator

@extrawurst extrawurst left a comment

Choose a reason for hiding this comment

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

thanks!

@@ -82,7 +82,7 @@ impl ExternalEditorPopup {

// deal with "editor name with spaces" p1 p2 p3
// and with "editor_no_spaces" p1 p2 p3
// does not address spaces in pn
// does not address spaces in on
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this still be pn as it is a generalization of p1 p2 p3?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Good catch!

Copy link
Collaborator

Choose a reason for hiding this comment

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

@kianmeng please revert that

@@ -611,10 +611,10 @@ mod tests {

tree.collapse(1, false);

let visibles = get_visible(&tree);
Copy link

Choose a reason for hiding this comment

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

I think this one was actually right, or at least intentional -- get_visible returns for each tree item whether it's visible or not, so a list of visibles, so a visibles. If anything, I would rename both the variable and the helper function to visibilities and get_visibilities, respectively

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants