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

Refactor const params #12

Merged
merged 4 commits into from
Nov 9, 2021
Merged

Refactor const params #12

merged 4 commits into from
Nov 9, 2021

Conversation

kampersanda
Copy link
Member

I moved constant parameters used only in builder.rs to the file. And, FAIL_INVALID is replaced into FAIL_MAX because a default fail value can be set to zero and the constant parameter will be used only for indicating the maximum possible value.

src/builder.rs Outdated Show resolved Hide resolved
src/builder.rs Outdated Show resolved Hide resolved
kampersanda and others added 2 commits November 9, 2021 17:10
Co-authored-by: Koichi Akabe <vbkaisetsu@gmail.com>
Co-authored-by: Koichi Akabe <vbkaisetsu@gmail.com>
@kampersanda
Copy link
Member Author

Thank you for your suggestions!

Copy link
Member

@vbkaisetsu vbkaisetsu left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you.

@vbkaisetsu vbkaisetsu merged commit 5c0e018 into main Nov 9, 2021
@vbkaisetsu vbkaisetsu deleted the const-rafactoring branch November 9, 2021 09:07
vbkaisetsu added a commit that referenced this pull request Dec 15, 2021
* Add detailed description

* add

* add

* add document

* Update src/lib.rs

Co-authored-by: Koichi Akabe <vbkaisetsu@gmail.com>

* Update src/lib.rs

Co-authored-by: Koichi Akabe <vbkaisetsu@gmail.com>

* Update src/lib.rs

Co-authored-by: Koichi Akabe <vbkaisetsu@gmail.com>

* minor

* update with lib.rs

* enhance

* insert line break

Co-authored-by: Koichi Akabe <vbkaisetsu@gmail.com>
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

2 participants