Skip to content

Commit 2a5b853

Browse files
committed
Replace super::super with absolute path within crate
1 parent 447170b commit 2a5b853

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/value/de.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,14 @@ impl<'de> Deserialize<'de> for Value {
155155
impl FromStr for Value {
156156
type Err = Error;
157157
fn from_str(s: &str) -> Result<Value, Error> {
158-
super::super::de::from_str(s)
158+
crate::from_str(s)
159159
}
160160
}
161161

162162
impl FromStr for Map<String, Value> {
163163
type Err = Error;
164164
fn from_str(s: &str) -> Result<Self, Error> {
165-
super::super::de::from_str(s)
165+
crate::from_str(s)
166166
}
167167
}
168168

0 commit comments

Comments
 (0)