diff --git a/nostarch/chapter04.md b/nostarch/chapter04.md index 0d29a71..2aeb590 100644 --- a/nostarch/chapter04.md +++ b/nostarch/chapter04.md @@ -809,7 +809,7 @@ the parts about lifetimes, the message does contain the key to why this code is a problem: ``` -this function’s return type contains a borrowed value, but there is no value +this function's return type contains a borrowed value, but there is no value for it to be borrowed from. ``` diff --git a/nostarch/odt/chapter04.odt b/nostarch/odt/chapter04.odt index b4848a5..532b89e 100644 Binary files a/nostarch/odt/chapter04.odt and b/nostarch/odt/chapter04.odt differ diff --git a/src/ch04-02-references-and-borrowing.md b/src/ch04-02-references-and-borrowing.md index d78bee6..8f088de 100644 --- a/src/ch04-02-references-and-borrowing.md +++ b/src/ch04-02-references-and-borrowing.md @@ -266,8 +266,8 @@ This error message refers to a feature we haven’t learned about yet: the parts about lifetimes, the message does contain the key to why this code is a problem: -``` -this function’s return type contains a borrowed value, but there is no value +```bash +this function's return type contains a borrowed value, but there is no value for it to be borrowed from. ```