Skip to content

Commit

Permalink
Update transient.rs
Browse files Browse the repository at this point in the history
Removed wildcard imports in favor of explicit paths.
  • Loading branch information
JRRudy1 committed Sep 8, 2024
1 parent 72d0caf commit bb3741c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/transient.rs
Original file line number Diff line number Diff line change
Expand Up @@ -705,17 +705,15 @@ mod either_impls {

#[cfg(feature = "serde_json")]
mod serde_json_impls {
use crate::*;
use serde_json::Error;

impl Static for Error {}
impl crate::Static for Error {}
}

#[cfg(feature = "rmp-serde")]
mod rmp_serde_impls {
use crate::*;
use rmp_serde::{decode, encode};

impl Static for encode::Error {}
impl Static for decode::Error {}
impl crate::Static for encode::Error {}
impl crate::Static for decode::Error {}
}

0 comments on commit bb3741c

Please sign in to comment.