From 2482d92778a1508df66ecedbe0dd16f440f2901c Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Tue, 6 Aug 2019 20:56:14 -0700 Subject: [PATCH] s/railguard/guardrail/ --- src/transmutes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transmutes.md b/src/transmutes.md index a17fab0..bc056bd 100644 --- a/src/transmutes.md +++ b/src/transmutes.md @@ -4,7 +4,7 @@ Get out of our way type system! We're going to reinterpret these bits or die trying! Even though this book is all about doing things that are unsafe, I really can't emphasize that you should deeply think about finding Another Way than the operations covered in this section. This is really, truly, the most -horribly unsafe thing you can do in Rust. The railguards here are dental floss. +horribly unsafe thing you can do in Rust. The guardrails here are dental floss. [`mem::transmute`][transmute] takes a value of type `T` and reinterprets it to have type `U`. The only restriction is that the `T` and `U` are verified