Skip to content

cat: minor cleanups#3145

Merged
tertsdiepraam merged 3 commits intomainfrom
unknown repository
Feb 16, 2022
Merged

cat: minor cleanups#3145
tertsdiepraam merged 3 commits intomainfrom
unknown repository

Conversation

@miallo
Copy link

@miallo miallo commented Feb 15, 2022

In our code review group we found a few minor simplifications :)

@sylvestre
Copy link
Contributor

what is a review group ? :)
please run rustfmt on it

@miallo
Copy link
Author

miallo commented Feb 15, 2022

what is a review group ? :)

Together with a few people we meet once a week to review code. This is our first project to look into :)

please run rustfmt on it

Sorry 🙈 - of course I will do that

The logic for '\n' and '\r' about the number of written characters was duplicated
@miallo
Copy link
Author

miallo commented Feb 15, 2022

@sylvestre I am not sure how it is usually handled with force-pushing vs. append-only in this project and I couldn't find anything in CONTRIBUTING.md. I hope with this small patch-set it is relatively easy to look at anyways...

@tertsdiepraam
Copy link
Member

tertsdiepraam commented Feb 15, 2022

Both are fine! If you force push we can merge it directly and if you add commits we'll probably squash and merge.

@tertsdiepraam tertsdiepraam merged commit cb54e76 into uutils:main Feb 16, 2022
@tertsdiepraam
Copy link
Member

Thank you!

@miallo miallo deleted the cat-cleanup branch February 16, 2022 17:49
@miallo
Copy link
Author

miallo commented Feb 16, 2022

Thank all of you for maintaining this great project! 🎉

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.

3 participants