Skip to content

Fix imports and publicness of types#5

Merged
Julien-R44 merged 1 commit intoJulien-R44:mainfrom
tinywombat765:imports
Nov 14, 2021
Merged

Fix imports and publicness of types#5
Julien-R44 merged 1 commit intoJulien-R44:mainfrom
tinywombat765:imports

Conversation

@tinywombat765
Copy link
Copy Markdown
Contributor

Generally it is bad practice to have public fields that contain private types. You should also import types directly. Also the CandleType type was not public.

Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
@Julien-R44 Julien-R44 merged commit 3e5fcba into Julien-R44:main Nov 14, 2021
@Julien-R44
Copy link
Copy Markdown
Owner

This pub(crate) is exactly what I needed ! Thanks

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.

2 participants