Skip to content

Commit 19e1571

Browse files
committed
Fix clippy & fmt warnings
1 parent 018c356 commit 19e1571

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

borsh/src/de/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1662,7 +1662,9 @@ pub fn from_reader<R: Read, T: BorshDeserialize>(reader: &mut R) -> Result<T> {
16621662
T::try_from_reader(reader)
16631663
}
16641664

1665+
#[cfg(feature = "unstable__async")]
16651666
use captures::Captures;
1667+
#[cfg(feature = "unstable__async")]
16661668
mod captures {
16671669
/// This is a [trick](https://github.com/rust-lang/rfcs/blob/master/text/3498-lifetime-capture-rules-2024.md#the-captures-trick),
16681670
/// used to not over-restrict the lifetime and trait bounds of a RPIT.

0 commit comments

Comments
 (0)