test/demo: added better demo cases for reflowing
@@ -12,10 +12,11 @@ struct Nest;
///
/// This struct has a lot of documentation but unfortunately, the lines are just too long.
struct SomeLong {
- /// This member is interesting though since it has some
- /// indentation. These whitespaces must be kept.
+ /// This member is interesting though since it has some indentation. These whitespaces must be kept.
member: i8,
-};
+ #[ doc = "This member is interesting though since it has some indentation. These whitespaces must be kept."]
+ sec: i8,
+}
/// A long documentation which is short enough for two lines
/// but too long for one line.
