Commit d83fcd8
committed
Make RemoteSettingsClient::get_attachment input a reference
This won't change anything when it's called from UniFFI since we still
need to copy the data to pass it over the FFI. However, we're starting
to use this client internally as well and this makes it so we can avoid
a copy when calling the method from Rust.1 parent 1fa3a0f commit d83fcd8
2 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
375 | | - | |
| 375 | + | |
376 | 376 | | |
377 | 377 | | |
| 378 | + | |
378 | 379 | | |
379 | 380 | | |
380 | 381 | | |
| |||
2427 | 2428 | | |
2428 | 2429 | | |
2429 | 2430 | | |
2430 | | - | |
| 2431 | + | |
2431 | 2432 | | |
2432 | 2433 | | |
2433 | 2434 | | |
| |||
2483 | 2484 | | |
2484 | 2485 | | |
2485 | 2486 | | |
2486 | | - | |
| 2487 | + | |
2487 | 2488 | | |
2488 | 2489 | | |
2489 | 2490 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
0 commit comments