Open aleokdev opened 2 years ago
Sorry for the dumb question but, is it really a good first issue?
I mean, it seems that there are A LOT of things to be done.
Sorry for the dumb question but, is it really a good first issue?
I mean, it seems that there are A LOT of things to be done.
Well I'm not expecting anyone to PR conformance to the entire guidelines :) But PRing guidelines one by one are small changes that are perfect as first issues IMO.
Fair enough, thanks!
Rust API Guidelines to follow for the 1.0.0 release:
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])?
, nottry!
, notunwrap
([C-QUESTION-MARK])Deref
andDerefMut
([C-DEREF])bool
orOption
([C-CUSTOM-TYPE])bitflags
, not enums ([C-BITFLAG])Debug
([C-DEBUG])Debug
representation is never empty ([C-DEBUG-NONEMPTY])