Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 20
What's the difference between a const fn and a regular fn?
A
const fns can't take arguments
B
A const fn can be evaluated at compile time when called in a const context (e.g. initializing a static)
C
const fns are always inlined
D
const fns run faster at runtime