From 894ade2d7d35743a3cfc21cb572caabd07763443 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Sat, 18 Feb 2017 11:35:41 -0500 Subject: [PATCH] you saw nothing part 2 --- src/ch08-02-strings.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ch08-02-strings.md b/src/ch08-02-strings.md index 4081777a8..f0f20e4f7 100644 --- a/src/ch08-02-strings.md +++ b/src/ch08-02-strings.md @@ -151,7 +151,7 @@ reference to `s2` has to do with the signature of the method that gets called when we use the `+` operator. The `+` operator uses the `add` method, whose signature looks something like this: -``` +```rust,ignore fn add(self, s: &str) -> String { ``` @@ -283,7 +283,7 @@ grapheme clusters (the closest thing to what people would call *letters*). If we look at the Hindi word “नमस्ते” written in the Devanagari script, it is ultimately stored as a `Vec` of `u8` values that looks like this: -``` +```text [224, 164, 168, 224, 164, 174, 224, 164, 184, 224, 165, 141, 224, 164, 164, 224, 165, 135] ```