Merge pull request #16 from ferrous-systems/skade-patch-1

Fix typo: constrains -> constraints
This commit is contained in:
Lotte Steenbrink 2020-07-09 10:09:18 +02:00 committed by GitHub
commit fab3a83f9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,7 @@ let reftoarray1: &[u8; 2] = b"Hi";
let reftoarray2: &[u8; 2] = &[b'H', 'i'];
// ^ ^
```
## Character constrains in byte string vs. string literals
## Character constraints in byte string vs. string literals
You can encode text as `b"Hello"` or as `"Hello"`.