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

Don't inline functions that are never called #346

Merged
merged 1 commit into from
Sep 7, 2023
Merged

Conversation

joshlf
Copy link
Member

@joshlf joshlf commented Sep 7, 2023

Our traits define the only_derive_is_allowed_to_implement_this_trait method. It is #[doc(hidden)], exists only as a speedbump to manual impls, and is presumably never called by users. It's a waste to have it marked as #[inline].

Our traits define the `only_derive_is_allowed_to_implement_this_trait`
method. It is `#[doc(hidden)]`, exists only as a speedbump to manual impls, and is
presumably never called by users. It's a waste to have it marked as `#[inline]`.
@joshlf joshlf merged commit 03551ce into main Sep 7, 2023
@joshlf joshlf deleted the joshlf-patch-1 branch September 7, 2023 18:15
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.

1 participant