mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2024-11-15 21:21:11 +00:00
Merge pull request #16 from ferrous-systems/skade-patch-1
Fix typo: constrains -> constraints
This commit is contained in:
commit
fab3a83f9e
1 changed files with 1 additions and 1 deletions
|
@ -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"`.
|
||||
|
||||
|
|
Loading…
Reference in a new issue