Closed
Description
Traits and structs brief should be removed: its functionality can be achieved through pressing the [-]
button.
Things that are not expressed through the "methods/fields" doucment:
- indication of default implementation on traits: once the brief is removed, we should add an indicator instead to the function line.
- indication of private fields in a struct: we can add a note instead.
Original proposal (superseded)
Current:
pub struct Vec<T> { /* fields omitted */ }
Desired:
pub struct Vec<T> { /* fields omitted */ }
impl<T> Vec<T> {
fn new() -> Vec<T>;
}
impl<T> IntoIterator for Vec<T>;
impl<T> Index<usize> for Vec<T>;
EDIT: as @sinkuu mentioned below, we have a way to display a well formatted brief by minimizing the descriptions.
We have another option, by removing the brief for traits and advertise the use of [-].