Skip to content

Commit 8a7d056

Browse files
authored
Merge pull request #156 from graydon/guard-rail-guard
s/railguard/guardrail/
2 parents b7f0aba + 2482d92 commit 8a7d056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transmutes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Get out of our way type system! We're going to reinterpret these bits or die
44
trying! Even though this book is all about doing things that are unsafe, I
55
really can't emphasize that you should deeply think about finding Another Way
66
than the operations covered in this section. This is really, truly, the most
7-
horribly unsafe thing you can do in Rust. The railguards here are dental floss.
7+
horribly unsafe thing you can do in Rust. The guardrails here are dental floss.
88

99
[`mem::transmute<T, U>`][transmute] takes a value of type `T` and reinterprets
1010
it to have type `U`. The only restriction is that the `T` and `U` are verified

0 commit comments

Comments
 (0)