From unstable-book:
The
const_fn
feature allows marking free functions and inherent methods asconst
, enabling them to be called in constants contexts, with constant arguments.
What is real need to explicitly and verbousely mark this functions with 'const' keyword?
Is there drawbacks if Rust mark all functions called in constant context as 'const fn' automatically and internally.