Commit 9ab562a
committed
refactor: Use Block Argument Forwading
> This cop identifies places where do_something(&block) can be replaced by do_something(&)
https://docs.rubocop.org/rubocop/cops_style.html#styleargumentsforwarding
https://docs.rubocop.org/rubocop/cops_naming.html#namingblockforwarding1 parent 229b1f9 commit 9ab562a
File tree
2 files changed
+2
-6
lines changed- instrumentation/bunny/lib/opentelemetry/instrumentation/bunny
2 files changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 41 | | |
46 | 42 | | |
47 | 43 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments