Skip to content

Commit c752895

Browse files
committed
style: nightly rustfmt
1 parent 508141e commit c752895

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

robsond/src/funding/saga.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -507,9 +507,10 @@ fn stream_key(saga_id: Uuid) -> String {
507507
format!("funding:{saga_id}")
508508
}
509509

510-
/// Binance `origClientOrderId` / `clientTranKey` must match `^[a-zA-Z0-9-_]{1,36}$`.
511-
/// We use a 16-char truncated UUID (8 bytes hex) to stay well within the 36-char limit
512-
/// while retaining enough entropy for idempotency (64 bits = 2^64 unique values).
510+
/// Binance `origClientOrderId` / `clientTranKey` must match
511+
/// `^[a-zA-Z0-9-_]{1,36}$`. We use a 16-char truncated UUID (8 bytes hex) to
512+
/// stay well within the 36-char limit while retaining enough entropy for
513+
/// idempotency (64 bits = 2^64 unique values).
513514
#[cfg(feature = "postgres")]
514515
fn spot_client_order_id(saga_id: Uuid, asset: &str) -> String {
515516
let short = &saga_id.simple().to_string()[..16];

0 commit comments

Comments
 (0)