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

Move the model traits into their own fj::models module #934

Merged
merged 3 commits into from
Aug 9, 2022

Conversation

Michael-F-Bryan
Copy link
Contributor

This is a follow-up to #885 (comment) from @hannobraun. Originally I thought he meant to move the traits into a new crate (e.g. fj-models), but he was actually suggesting to move them out of the top-level namespace.

@Michael-F-Bryan Michael-F-Bryan marked this pull request as ready for review August 9, 2022 12:05
@Michael-F-Bryan
Copy link
Contributor Author

@hannobraun, is this closer to what you had in mind?

Copy link
Owner

@hannobraun hannobraun left a comment

Choose a reason for hiding this comment

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

Thank you, @Michael-F-Bryan, much better!

One more nitpick: abi could be moved under models, and the #[doc(hidden)] could be removed. As I remarked, I have found libraries that use #[doc(hidden)] confusing to use in the past.

But that really is just a nitpick. It can be done whenever is convenient, and doesn't need to be done by you, unless you want to.

@hannobraun hannobraun merged commit c5aee57 into hannobraun:main Aug 9, 2022
@Michael-F-Bryan Michael-F-Bryan deleted the refactor/model-ffi branch August 9, 2022 12:34
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