We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a5d10c commit 02476e0Copy full SHA for 02476e0
src/ch01-01-building-an-intuition.md
@@ -52,7 +52,7 @@ borrowed string.
52
{{#rustdoc_include ../code/ch01-01-building-an-intuition/fn-ptr-lengthener/src/main.rs:all}}
53
```
54
55
-This feels like should work. You can take a callback that takes an arbitrary borrowed string and
+This feels like it should work. You can take a callback that takes an arbitrary borrowed string and
56
turn it into one that takes in a static string, since you're weakening the guarantee. And it does.
57
58
How can we handle these different cases in a principled way? That's where variance comes in. We're
0 commit comments