Fix small typo

This commit is contained in:
Florian Gilcher 2017-01-10 12:13:21 +01:00 committed by whitequark
parent 1d06e715f7
commit 7a46d7150d
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ There are three things the struct `Interface` is parameterized over:
* a slice of `Socket`s, which it either owns or borrows mutably, and which further either * a slice of `Socket`s, which it either owns or borrows mutably, and which further either
own or borrow some memory. own or borrow some memory.
The motivaion for using `BorrowMut` is that in environments with heap, the struct ought to The motivation for using `BorrowMut` is that in environments with heap, the struct ought to
own a `Vec`; on the other hand, without heap there is neither `Vec` nor `Box`, and it is only own a `Vec`; on the other hand, without heap there is neither `Vec` nor `Box`, and it is only
possible to use a `&mut`. Both of these implement BorrowMut. possible to use a `&mut`. Both of these implement BorrowMut.