Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No, const semantics are defined by the language definition.




It's defined by whatever you put in your const overloads.

const is primarily a type annotation that affects overload resolution.

You must be confused because Rust has no overloading to begin with.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: