pommicket
pommicket
> https://github.com/rust-lang/rfcs/pull/2700 chose not to do this for the mathematical constants. Thanks I didn't know that. Seems like it was decided that it could be left to a later RFC....
> IMO, ideally we could do something like this: What is `PI` here exactly? A generic constant (this exists in C++, but not rust yet...)? A constant of some special...
This would be especially nice since then you would be able to use PI in a generic context. Unfortunately it would mean that adding a new constant would be a...
This is neat, but all general-purpose programming languages that I know of just have floating-point constants for π, etc., and they seem to get along fine without all this "machinery"....
Yes it looks good now
Sorry, fixed now. (I also switched the order for `only_used_in_recursion` to match.)
Actually it looks like most lints currently have Known Problems before Examples. Is there a reason for putting it in the opposite order for this lint?
No, that's fine. Just making sure it wasn't a mistake.