Skip to content
This repository has been archived by the owner on May 11, 2020. It is now read-only.

Adding pub to the parse functions #21

Merged
merged 2 commits into from
Dec 27, 2019

Conversation

deg4uss3r
Copy link
Contributor

This fixes issue clap-rs/clap#1575 when the struct to parse is in a separate file by changing the parse functions to public.

@CreepySkeleton
Copy link
Contributor

CreepySkeleton commented Oct 18, 2019

We should also attach #[allow(unreachable_pub)] to such functions

@deg4uss3r
Copy link
Contributor Author

Added the attribute, I couldn't find a good description of when to use this one so I'm unsure if I did it in the best way... Let me know and I can fix this.

@Dylan-DPC-zz
Copy link

@CreepySkeleton what do you think about this? looks good to me

@CreepySkeleton
Copy link
Contributor

Yeah, this is great, but #23 has it done already 😕

@Dylan-DPC-zz
Copy link

Thanks. Closing it

@Dylan-DPC-zz
Copy link

This is not fixed by #23 so reopening it

@Dylan-DPC-zz Dylan-DPC-zz reopened this Dec 27, 2019
@Dylan-DPC-zz Dylan-DPC-zz merged commit 2622165 into clap-rs:master Dec 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants