Make the no-std `RwLockGuard` `try_lock` actually try 2023-01-nostd-try-lock
authorMatt Corallo <git@bluematt.me>
Sat, 7 Jan 2023 20:11:05 +0000 (20:11 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 7 Jan 2023 22:43:09 +0000 (22:43 +0000)
commitefc0244ba679058938aca0e0fe1dc518891dbfc7
treec75a0c07e903d075a303d585b692d366da3f4f0f
parentd8a20eda5f74126d96700263716ee3938d4d3c8d
Make the no-std `RwLockGuard` `try_lock` actually try

There doesn't appear to be any reason to have `try_lock` fail, and
future work shouldn't need to check for std to use `try_lock`.
lightning/src/sync.rs