Cargo format

This commit is contained in:
Ben Cross
2021-01-17 21:37:30 +00:00
parent e0d46f430b
commit 762986b271
43 changed files with 100 additions and 51 deletions
+2 -1
View File
@@ -2,7 +2,8 @@
use std::error::Error;
use std::fmt;
#[cfg(feature = "serde")] use serde::{Deserialize, Serialize};
#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};
/// Generic error to be raised when something goes wrong.
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]