1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-27 03:01:03 +02:00

Add timing for const slide (#2556)

I think this was missed when it split from the static slide. In the last
course session, we spent a fair amount of time on this slide.
This commit is contained in:
Dustin J. Mitchell
2025-01-16 04:18:12 -05:00
committed by GitHub
parent f95c28f9a7
commit cb5409052a

View File

@ -1,3 +1,7 @@
---
minutes: 10
---
# `const`
Constants are evaluated at compile time and their values are inlined wherever