« first day (1880 days earlier)      last day (1608 days later) » 

12:55 AM
Programmable lints would be nice too...
I can't find a way to tell the user not to call a function with a literal as a parameter, other than by documenting the function.
 
1:26 AM
@E_net4saysReinstate haha is that really people who feel in a trap like this ? well, I probably will so let add this hint :p
@E_net4saysReinstate wut ?
 
 
10 hours later…
11:12 AM
@Stargateur here is an example of such a function: docs.rs/byteordered/0.5.0/byteordered/…
If they do ByteOrdered::new(Endianness::Little), they use a run-time aware order, unnecessarily.
 

« first day (1880 days earlier)      last day (1608 days later) »