-
Notifications
You must be signed in to change notification settings - Fork 583
#[inline] section could use additional details #349
Copy link
Copy link
Closed
Labels
Language CleanupImprovements to existing language which is correct but not clear, or missing examples, or the like.Improvements to existing language which is correct but not clear, or missing examples, or the like.New ContentMissing features or aspects of language not currently documented.Missing features or aspects of language not currently documented.
Metadata
Metadata
Assignees
Labels
Language CleanupImprovements to existing language which is correct but not clear, or missing examples, or the like.Improvements to existing language which is correct but not clear, or missing examples, or the like.New ContentMissing features or aspects of language not currently documented.Missing features or aspects of language not currently documented.
Type
Fields
Give feedbackNo fields configured for issues without a type.
In trying to choose whether to use
#[inline]on a function, I found the section in this book. However, here are several questions I had after reading it:#[inline]apply to all implementations of a function defined by a trait, if the trait's declaration of that function is annotated?#[inline]apply to an implementation of a trait function if the trait's declaration does not have an#[inline]annotation?#[inline]?#[inline]?I volunteer to write the answers to these questions in polished form for the book and submit a pull request if someone can answer the substance of them here.