Skip to content

Commit

Permalink
tweak imports 2
Browse files Browse the repository at this point in the history
  • Loading branch information
asmello committed Oct 21, 2024
1 parent bf9e72d commit d7857c2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/assign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,6 @@ mod tests {
};
use alloc::vec;
use core::fmt::{Debug, Display};
use serde_json::json;

#[derive(Debug)]
struct Test<V: Assign> {
Expand Down Expand Up @@ -606,6 +605,8 @@ mod tests {
#[test]
#[cfg(feature = "json")]
fn assign_json() {
use serde_json::json;

Test::all([
Test {
ptr: "/foo",
Expand Down Expand Up @@ -794,10 +795,8 @@ mod tests {
#[test]
#[cfg(feature = "toml")]
fn assign_toml() {
use alloc::vec;
use toml::{toml, Table, Value};

use crate::index::InvalidCharacterError;
Test::all([
Test {
data: Value::Table(toml::Table::new()),
Expand Down

0 comments on commit d7857c2

Please sign in to comment.