Skip to content

Commit

Permalink
Remove more json! usage (serenity-rs#2986)
Browse files Browse the repository at this point in the history
  • Loading branch information
GnomedDev authored and mkrasnitski committed Dec 8, 2024
1 parent b7f0147 commit 68aed50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/builder/create_interaction_response.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
use std::borrow::Cow;
use std::collections::HashMap;

use serde_json::json;

use super::create_poll::Ready;
use super::{
CreateActionRow,
Expand Down
2 changes: 1 addition & 1 deletion src/http/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use reqwest::{Client, ClientBuilder, Response as ReqwestResponse, StatusCode};
use secrecy::{ExposeSecret as _, Secret};
use serde::de::DeserializeOwned;
use serde::ser::SerializeSeq as _;
use serde_json::{from_value, json, to_string, to_vec};
use serde_json::{from_value, to_string, to_vec};
use to_arraystring::ToArrayString as _;
use tracing::{debug, warn};

Expand Down

0 comments on commit 68aed50

Please sign in to comment.