Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upMeta issue for Rust API Guidelines #1798
Comments
This comment has been minimized.
This comment has been minimized.
mcarton
added
the
A-guidelines
label
May 28, 2017
This comment has been minimized.
This comment has been minimized.
|
Nice work! (You should use URLs with the commit hash in them (press y on github.com) so they continue to work in the future.) |
This comment has been minimized.
This comment has been minimized.
|
Thanks! I volontarily did not do that for this so that we point to the latest version of the guidelines. This might mean that we get broken links once in a while but that'll mean that the list here is outdated. |
This comment has been minimized.
This comment has been minimized.
|
Note that C-EXAMPLE is covered by #1454. |
This comment has been minimized.
This comment has been minimized.
|
Not quite, |
This comment has been minimized.
This comment has been minimized.
|
As predicted, the links no longer work. Now, how using links like this one instead? |
This comment has been minimized.
This comment has been minimized.
Susurrus
commented
Jan 23, 2019
This was checked off in the original checklist, so I wanted to double-check I wasn't missing anything. |
Susurrus
referenced this issue
Jan 23, 2019
Merged
RFC 2235 - Implement PartialEq,Eq,Hash,Debug for all types #1217
This comment has been minimized.
This comment has been minimized.
|
@Susurrus I split the list into sub-lists and unchecked the main item. |
mcarton commentedMay 27, 2017
•
edited
Let's see what makes sense to get into Clippy or not from the Rust API Guidelines.
Check the box if a lint or issue already exist for an item. See also is:issue is:open label:A-guidelines.
rustc'sbad-stylelint group.as_,to_,into_conventions (C-CONV)iter,iter_mut,into_iter(C-ITER)Copy(rustc'smissing-copy-implementations)CloneEqPartialEqOrdPartialOrdHashDebug(rustc'smissing-debug-implementations)DisplayDefault(we do havenew_without_default)From,AsRef,AsMut(C-CONV-TRAITS)SHOULD_IMPLEMENT_TRAIT.FromIteratorandExtend(C-COLLECT)Serialize,Deserialize(C-SERDE)SendandSyncwhere possible (C-SEND-SYNC)Hex,Octal,Binaryformatting (C-NUM-FMT)R: ReadandW: Writeby value (C-RW-VALUE)?, nottry!, notunwrap(C-QUESTION-MARK)clippy::cargo_common_metadata)readme, keywords, categories
DerefandDerefMut(C-DEREF)boolorOption(C-CUSTOM-TYPE)bitflags, not enums (C-BITFLAG)Debug(C-DEBUG)rustc'smissing-debug-implementations.Debugrepresentation is never empty (C-DEBUG-NONEMPTY)