summaryrefslogtreecommitdiff
path: root/src/ser.rs
diff options
context:
space:
mode:
authorSam Scott <sam@osohq.com>2020-12-17 21:52:05 -0500
committerSam Scott <sam@osohq.com>2020-12-17 21:52:05 -0500
commitb3e75c6a446ccd32651538566dc457bf276f6649 (patch)
tree7180c5201130865a9b7316eef8218cfca6cc1f64 /src/ser.rs
parent78ab95911e478ffef3d36e8cbb5402e92b5d16f0 (diff)
Set MSRV to 1.36 and test.
Diffstat (limited to 'src/ser.rs')
-rw-r--r--src/ser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ser.rs b/src/ser.rs
index 6107694..dcd58c2 100644
--- a/src/ser.rs
+++ b/src/ser.rs
@@ -167,7 +167,7 @@ impl<'a, W: 'a + Write> QsSerializer<'a, W> {
impl Error {
fn no_key() -> Self {
let msg = "tried to serialize a value before serializing key";
- Self::Custom(msg.into())
+ Error::Custom(msg.into())
}
}