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

typeanswer: NFC fix & cleanup #3482

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

twwn
Copy link
Contributor

@twwn twwn commented Oct 6, 2024

I'm sorry if this is getting annoying as my last PR was already the "final" cleanup, but this should really be it…

No functional changes:

  • DiffNonCombining's new() used String where plain Vec is appropriate
  • get rid of normalize_typed for DiffTrait again by pulling code into DiffNonCombining's new()
  • DiffNonCombining testcase
  • Typos

Functional change

  • Return to NFC throughout typeanswer.rs for now

(Curiously my local nightly rustfmt now wants to reformat other testcases in a way that breaks the repo check.)

* DiffNonCombining's new() used String where plain Vec is appropriate
* get rid of normalize_typed for DiffTrait again by pulling code into DiffNonCombining's new()
* two DiffNonCombining testcases
@twwn twwn changed the title typeanswer: cleanup typeanswer: NFC fix & cleanup Oct 8, 2024
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.

1 participant