This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit e73670b
authored
Unrolled build for rust-lang#118977
Rollup merge of rust-lang#118977 - GuillaumeGomez:simplifysrc-script, r=notriddle
Simplify `src-script.js` code
Instead of keeping this value in the global scope and still use it in the function in case it wasn't used outside, let's just use it inside the function.
r? ``@notriddle``1 file changed
+3
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
| 149 | + | |
| 150 | + | |
155 | 151 | | |
156 | 152 | | |
157 | 153 | | |
| |||
233 | 229 | | |
234 | 230 | | |
235 | 231 | | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
| 232 | + | |
242 | 233 | | |
243 | 234 | | |
244 | 235 | | |
| |||
0 commit comments