On Wed, Nov 29, 2023 at 01:12:51PM +0000, Alice Ryhl wrote: [...] > +// Make the `CondVar` methods callable on `PollCondVar`. > +impl Deref for PollCondVar { > + type Target = CondVar; > + > + fn deref(&self) -> &CondVar { > + &self.inner > + } > +} I generally think we should avoid using Deref for "subclass pattern" due to the potential confusion for the code readers (of the deref() usage). Would it be possible we start with `impl AsRef<CondVar>`? Thanks! Regards, Boqun