]> git.lizzy.rs Git - rust.git/blobdiff - src/doc/trpl/borrow-and-asref.md
TRPL: Add `rust` Marker to Some Code Block
[rust.git] / src / doc / trpl / borrow-and-asref.md
index f5f314f1c21d6ee9d3bc719134a7ad013b23698f..dbde2be369bfd418e857a85cb75dfc76c599a1d9 100644 (file)
@@ -51,7 +51,7 @@ kind of borrowed value. Slices are an area where this is especially true: you
 can have both an `&[T]` or a `&mut [T]`. If we wanted to accept both of these
 types, `Borrow` is up for it:
 
-```
+```rust
 use std::borrow::Borrow;
 use std::fmt::Display;