Enable some warnings

This commit is contained in:
Joscha 2022-08-02 01:49:08 +02:00
parent baa49107f1
commit 00bcdddc62
8 changed files with 30 additions and 15 deletions

View file

@ -304,10 +304,10 @@ impl Serialize for Snowflake {
struct SnowflakeVisitor;
impl<'de> de::Visitor<'de> for SnowflakeVisitor {
impl de::Visitor<'_> for SnowflakeVisitor {
type Value = Snowflake;
fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(formatter, "a base36 string of length 13")
}