-
Notifications
You must be signed in to change notification settings - Fork 9
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
Make the crate conform to the API guidelines #125
Comments
The only public dependency is |
Both |
Done in #136:
|
Type Safety section:
|
Future Profing section:
|
Dependability section:
|
checked off up to here (excluding #136 stuff) |
Macros section:
|
Flexibility section:
|
Predictability section:
|
Naming section:
|
Interoperability section:
|
Crushing checklists like its my job - only docs to go. |
Rust API Guidelines Checklist
as_
,to_
,into_
conventions (C-CONV)iter
,iter_mut
,into_iter
(C-ITER)Copy
,Clone
,Eq
,PartialEq
,Ord
,PartialOrd
,Hash
,Debug
,Display
,Default
From
,AsRef
,AsMut
(C-CONV-TRAITS)FromIterator
andExtend
(C-COLLECT)Serialize
,Deserialize
(C-SERDE)Send
andSync
where possible (C-SEND-SYNC)Hex
,Octal
,Binary
formatting (C-NUM-FMT)R: Read
andW: Write
by value (C-RW-VALUE)HexWriter
constructor #144impl_fmt_traits
in module scope #143?
, nottry!
, notunwrap
(C-QUESTION-MARK)keywords, categories
Deref
andDerefMut
(C-DEREF)bool
orOption
(C-CUSTOM-TYPE)bitflags
, not enums (C-BITFLAG)(Both done in Make a start on verifying the API #136)
Debug
(C-DEBUG)Debug
representation is never empty (C-DEBUG-NONEMPTY)The text was updated successfully, but these errors were encountered: