diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-08 03:24:27 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-08 03:25:02 +0900 |
| commit | b4f16a379e919eefc2cb37bcddee589c0f26eaad (patch) | |
| tree | fcd970b83deb89a04fb5daf2c107d6f75b34e0f2 /crates/shirabe/src/util/platform.rs | |
| parent | da0d38a8e16ebefd59ef5291b5788e6238cc78ba (diff) | |
| download | php-shirabe-b4f16a379e919eefc2cb37bcddee589c0f26eaad.tar.gz php-shirabe-b4f16a379e919eefc2cb37bcddee589c0f26eaad.tar.zst php-shirabe-b4f16a379e919eefc2cb37bcddee589c0f26eaad.zip | |
refactor(php-shim): dispatch spl_object_hash on Rc and references
Getting a rule's identity meant spl_object_hash(&*rule.borrow()), so the
solver borrowed a RefCell just to read an address, and a second function
spl_object_hash_process existed because one generic fn cannot tell Rc<T>
from &T.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/util/platform.rs')
0 files changed, 0 insertions, 0 deletions
