Commit ff7c61e
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 1fc6949 commit ff7c61e
File tree
2 files changed
+2
-8
lines changed- instrumentation/bunny/lib/opentelemetry/instrumentation/bunny
2 files changed
+2
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 41 | | |
48 | 42 | | |
49 | 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