Enable some warnings
This commit is contained in:
parent
baa49107f1
commit
00bcdddc62
8 changed files with 30 additions and 15 deletions
|
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue