diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-11-06 21:15:12 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-11-06 21:15:12 -0800 |
commit | ae03334a64b1d7d6506ffb60a01f5c7f941900a6 (patch) | |
tree | 87ffe21c51e2e404d798a9e257079410ac044fde /adenosine-pds/src/car.rs | |
parent | 8c217067ee5132c6e5453e1c09b2391880e51d83 (diff) | |
download | adenosine-ae03334a64b1d7d6506ffb60a01f5c7f941900a6.tar.gz adenosine-ae03334a64b1d7d6506ffb60a01f5c7f941900a6.zip |
pds: partial clippy clean
Diffstat (limited to 'adenosine-pds/src/car.rs')
-rw-r--r-- | adenosine-pds/src/car.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adenosine-pds/src/car.rs b/adenosine-pds/src/car.rs index 63911e5..b14d0b1 100644 --- a/adenosine-pds/src/car.rs +++ b/adenosine-pds/src/car.rs @@ -56,7 +56,7 @@ async fn inner_car_loader( .await?; // pin the header (?) - if car_header.roots().len() >= 1 { + if !car_header.roots().is_empty() { db.alias(alias.as_bytes(), Some(&car_header.roots()[0]))?; } |