Skip to content

Commit

Permalink
chore: fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Nouzan committed Apr 27, 2024
1 parent 029a434 commit 233e3cd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/examples/binance_reconnect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async fn main() -> anyhow::Result<()> {
tokio::spawn(async move {
loop {
tracing::info!("{inst}");
match { client.subscribe_tickers(inst).await } {
match client.subscribe_tickers(inst).await {
Ok(mut stream) => {
while let Some(c) = stream.next().await {
match c {
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/binance_streams.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async fn main() -> anyhow::Result<()> {
tokio::spawn(async move {
loop {
tracing::info!("{inst}");
match { client.subscribe_tickers(inst).await } {
match client.subscribe_tickers(inst).await {
Ok(mut stream) => {
while let Some(c) = stream.next().await {
match c {
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/okx_reconnect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async fn main() -> anyhow::Result<()> {
tokio::spawn(async move {
loop {
tracing::info!("{inst}");
match { client.subscribe_tickers(inst).await } {
match client.subscribe_tickers(inst).await {
Ok(mut stream) => {
while let Some(c) = stream.next().await {
match c {
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/okx_streams.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async fn main() -> anyhow::Result<()> {
tokio::spawn(async move {
loop {
tracing::info!("{inst}");
match { client.subscribe_tickers(inst).await } {
match client.subscribe_tickers(inst).await {
Ok(mut stream) => {
while let Some(c) = stream.next().await {
match c {
Expand Down
1 change: 1 addition & 0 deletions exc-binance/src/http/response/candle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use crate::http::error::RestError;
use super::Data;

/// Candle in list form.
#[allow(dead_code)]
#[derive(Debug, Deserialize)]
pub struct Candle(
/// Open time.
Expand Down

0 comments on commit 233e3cd

Please sign in to comment.