Fix a typo that got into the dictionary

This commit is contained in:
Carol (Nichols || Goulding) 2016-12-01 10:39:28 -05:00
parent cf52d81371
commit 1771ae0ebd
2 changed files with 1 additions and 2 deletions

View File

@ -160,7 +160,6 @@ RAII
randcrate
READMEs
rect
Rectange
redeclaring
RefCell
repr

View File

@ -236,7 +236,7 @@ impl Rectangle {
```
To call this associated function, we use the `::` syntax with the struct name:
`let sq = Rectange::square(3);`, for example. This function is namespaced by
`let sq = Rectangle::square(3);`, for example. This function is namespaced by
the struct: the `::` syntax is used for both associated functions and
namespaces created by modules, which well learn about in Chapter 7.