Skip to content

Commit

Permalink
docs(impl-serializer): correct crate import
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
onkoe authored Jun 25, 2024
1 parent bf6fb2a commit dae2443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _src/impl-serializer.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ is used.
#
use serde::{ser, Serialize};

use error::{Error, Result};
use crate::error::{Error, Result};

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

0 comments on commit dae2443

Please sign in to comment.