Skip to content

Commit b4f4f3d

Browse files
committed
Use explicit imports in unified.rs tests
Switch the module tests within unified.rs to use explicit use statements instead of glob imports (*). This improves code clarity by clearly indicating which items are being brought into scope.
1 parent 771a386 commit b4f4f3d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/payment/unified.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,7 @@ mod tests {
390390

391391
use bitcoin::{address::NetworkUnchecked, Address, Network};
392392

393-
use super::*;
394-
use crate::payment::unified::Extras;
393+
use super::{Amount, Bolt11Invoice, Extras, Offer};
395394

396395
#[test]
397396
fn parse_uri() {

0 commit comments

Comments
 (0)