about summary refs log tree commit diff
path: root/library/std/src/sys/unix/time.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-24 12:58:16 +0000
committerbors <bors@rust-lang.org>2022-04-24 12:58:16 +0000
commitd8e59edbfa47ff38e23e6dedab6bedd3b41895e0 (patch)
treee319351ed5472b39592babc72f6511375fcf2e32 /library/std/src/sys/unix/time.rs
parentb759b2218649016cc40e82bdd6d958e2277ff6d7 (diff)
parenta34e1b58cb810fdada170b59e83f6bf8407342cb (diff)
downloadrust-d8e59edbfa47ff38e23e6dedab6bedd3b41895e0.tar.gz
rust-d8e59edbfa47ff38e23e6dedab6bedd3b41895e0.zip
Auto merge of #96359 - SparrowLii:drop_kind, r=oli-obk
make `classify_drop_access_kind` iterate

This PR:
1. fixes the FIXME of `classify_drop_access_kind` func in the borrowck part. The process of obtaining `StorageDeadOrDrop` has been changed from recursive to iterative.
2. gets `place_ty` in each iteration, avoid repeatedly getting the `ty` of the same place (O(n^2) => O(n))
Diffstat (limited to 'library/std/src/sys/unix/time.rs')
0 files changed, 0 insertions, 0 deletions