Add doc string for format method

This commit is contained in:
Hugo Duncan committed 2015-05-08 12:43:12 -04:00
1 parent 53e6e29571
commit ec483fc07d
2 files changed
+9

No files matched your search

+5
View File
@@ -114,6 +114,11 @@ pub trait Deserializer {
self.visit(visitor)
}
/// Specify a format string for the deserializer.
///
/// The deserializer format is used to determine which format
/// specific field attributes should be used with the
/// deserializer.
fn format() -> &'static str {
""
}