Skip to content

Commit f7cbb63

Browse files
authored
Remove unnecessary and duplicate paragraph (#2913)
This doesn't belong in a slide, and we already say the same thing at the top of the slide.
1 parent 81ad677 commit f7cbb63

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/user-defined-types/const.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ minutes: 10
44

55
# `const`
66

7-
Constants are evaluated at compile time and their values are inlined wherever
8-
they are used:
7+
Constants are evaluated at compile time and their values are [inlined][1]
8+
wherever they are used:
99

1010
<!-- mdbook-xgettext: skip -->
1111

@@ -31,8 +31,6 @@ fn main() {
3131
}
3232
```
3333

34-
According to the [Rust RFC Book][1] these are inlined upon use.
35-
3634
Only functions marked `const` can be called at compile time to generate `const`
3735
values. `const` functions can however be called at runtime.
3836

0 commit comments

Comments
 (0)