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

Refactoring #4

Merged
merged 4 commits into from Jun 19, 2021
Merged

Refactoring #4

merged 4 commits into from Jun 19, 2021

Conversation

Svetlitski
Copy link
Owner

Assorted refactoring to improve the quality of the codebase.

There are no functional changes, other than fixing a bug within the testing machinery (namely stack overflow while hydrating fixtures). This is not user-visible, as it affects only testing utilities.

- Refactor the fcp function to use slice patterns more expressively and
  improve variable names.
- Move the copy_file_impl function into copy_file and rename it to better
  reflect that it is private.
- Assorted refactoring to better follow Rust idioms.
…ing the buffer thread-local instead of stack-allocated
@Svetlitski Svetlitski merged commit 3c783be into master Jun 19, 2021
@Svetlitski Svetlitski deleted the refactoring branch June 19, 2021 20:19
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.

None yet

1 participant