diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-11-23 17:59:54 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-11-27 10:35:43 +1100 |
| commit | 3dea72aa1bf0ed5e5ccd36e8ee6c1c97976e5d25 (patch) | |
| tree | 50c1c7dc21685a950d8246ce1c48efc3f3d08f01 /compiler/rustc_codegen_gcc/src | |
| parent | d957c4718377b8cb0dacc58cdbaa5a3fe82c53cc (diff) | |
| download | rust-3dea72aa1bf0ed5e5ccd36e8ee6c1c97976e5d25.tar.gz rust-3dea72aa1bf0ed5e5ccd36e8ee6c1c97976e5d25.zip | |
Remove one use of `as_results_cursor`.
It's currently used because `requires_storage_results` is used in two locations: once with a cursor, and once later on without a cursor. The non-consuming `as_results_cursor` is used for the first location. But we can instead use the consuming `into_results_cursor` and then use `into_results` to extract the `Results` from the finished-with cursor for use at the second location.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
0 files changed, 0 insertions, 0 deletions
