Skip to content

Commit

Permalink
fix typo of ex 6.15
Browse files Browse the repository at this point in the history
  • Loading branch information
scottstanie authored Feb 28, 2017
1 parent a2ed9cb commit 9d71d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch06/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ cause the `s` should not be changed by this function. but `occurs`'s result must

>Why are these parameters references, but the char parameter `c` is not?
casue `c` maybe a temp varable. such as `find_char(s, 'a', occurs)`
cause `c` may be a temp varable, such as `find_char(s, 'a', occurs)`

>What would happen if we made `s` a plain reference? What if we made `occurs` a reference to const?
Expand Down

0 comments on commit 9d71d22

Please sign in to comment.