about summary refs log tree commit diff
path: root/library/std/src/sys/unix/thread.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-06-18 13:17:08 -0700
committerGitHub <noreply@github.com>2023-06-18 13:17:08 -0700
commit3b059e0fdbf0257ac4921552781d070e8288233a (patch)
treecfa4c88b96fe9d7f875b576e31c2286ac164f19f /library/std/src/sys/unix/thread.rs
parentd70be670474c98e62eefc67674b7bb3c7c4f5053 (diff)
parent894ab2ce7ab15b3bdb1d976aee21ff3157c8779b (diff)
downloadrust-3b059e0fdbf0257ac4921552781d070e8288233a.tar.gz
rust-3b059e0fdbf0257ac4921552781d070e8288233a.zip
Rollup merge of #112758 - bvanjoi:clean-up-resolve, r=petrochenkov
refactor(resolve): delete update_resolution function

The `{ resolution.single_imports.remove(); }` code block does not modify the `binding` of this `resolution`. Therefore, the result of `resolution.binding()` before and after `let t = f(self, resolution)` will remain the same, and it will always satisfy the result: `_ if old_binding.is_some() => return t` or `None => return t`.

And then we delete the `update_resolution` function because it only called once.

r? ``@petrochenkov``
Diffstat (limited to 'library/std/src/sys/unix/thread.rs')
0 files changed, 0 insertions, 0 deletions