Skip to content

Commit dae2443

Browse files
authored
docs(impl-serializer): correct crate import
it was importing from the `error` crate, which wasn't intentional. this now specifies that we're talking about our current crate's error module.
1 parent bf6fb2a commit dae2443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_src/impl-serializer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ is used.
2323
#
2424
use serde::{ser, Serialize};
2525

26-
use error::{Error, Result};
26+
use crate::error::{Error, Result};
2727

2828
pub struct Serializer {
2929
// This string starts empty and JSON is appended as values are serialized.

0 commit comments

Comments
 (0)