Skip to content

Commit efb6b41

Browse files
authored
Fix clippy::empty_line_after_doc_comments (#785)
2 parents 67326f8 + c4e6b13 commit efb6b41

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

serde_with/src/base64.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ use crate::prelude::*;
5959
/// assert_eq!(b64, serde_json::from_value(json).unwrap());
6060
/// # }
6161
/// ```
62-
6362
// The padding might be better as `const PADDING: bool = true`
6463
// https://blog.rust-lang.org/inside-rust/2021/09/06/Splitting-const-generics.html#featureconst_generics_default/
6564
pub struct Base64<ALPHABET: Alphabet = Standard, PADDING: formats::Format = formats::Padded>(

serde_with/src/key_value_map.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,6 @@ where
415415
/// It uses [`ElementAsKeyValueSerializer`] for the map element serialization.
416416
///
417417
/// The [`Serializer`] implementation handles `serialize_struct`, `serialize_map` and `serialize_seq` functions by deferring the work to [`SerializeStruct`], [`SerializeMap`] and [`SerializeSeq`] respectively.
418-
419418
struct SerializeSeqElement<M> {
420419
delegate: M,
421420
is_human_readable: bool,

serde_with_macros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ fn field_has_attribute(field: &Field, namespace: &str, name: &str) -> bool {
562562
///
563563
/// If the automatically applied attribute is undesired, the behavior can be suppressed by adding
564564
/// `#[serde_as(no_default)]`.
565-
565+
///
566566
/// This can be combined like `#[serde_as(as = "Option<S>", no_default)]`.
567567
///
568568
/// After all these steps, the code snippet will have transformed into roughly this.

0 commit comments

Comments
 (0)