@@ -170,7 +170,7 @@ The `'{do_mir_borrowck}'` argument is called the **matcher**. It
170
170
specifies the test to be applied on the backtrace. In this case, the
171
171
` {X} ` indicates that there must be * some* function on the backtrace
172
172
that meets the regular expression ` X ` . In this case, that regex is
173
- just the name of the fn we want (in fact, it's a subset of the name;
173
+ just the name of the function we want (in fact, it's a subset of the name;
174
174
the full name includes a bunch of other stuff, like the module
175
175
path). In this mode, perf-focus just prints out the percentage of
176
176
samples where ` do_mir_borrowck ` was on the stack: in this case, 29%.
@@ -208,8 +208,8 @@ Percentage : 0%
208
208
```
209
209
210
210
Here we used the ` .. ` operator to ask "how often do we have
211
- ` do_mir_borrowck ` on the stack and then, later, some fn whose name
212
- begins with ` rusc::traits ` ?" (basically, code in that module). It
211
+ ` do_mir_borrowck ` on the stack and then, later, some function whose
212
+ name begins with ` rusc::traits ` ?" (basically, code in that module). It
213
213
turns out the answer is "almost never" — only 12 samples fit that
214
214
description (if you ever see * no* samples, that often indicates your
215
215
query is messed up).
0 commit comments