Skip to content

Commit cb1f5ff

Browse files
authored
Fix style guide (#36)
There should be a space before the header: ``` Prefer using h2, bullet, and sub-bullet indentation levels when possible. ## Bullet section features ``` I debugged as far as identifying that the boundry between the type state and function outputs is part of the issue. I want to get rid of the type state implementation, so this is a good enough fix for now.
1 parent 0785869 commit cb1f5ff

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

examples/style_guide.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,10 @@ fn main() {
4949
Prefer using h2, bullet, and sub-bullet indentation levels when possible.
5050
"});
5151

52-
output = output.h2("Bullet section features");
53-
output = output
54-
.bullet("Bullet example")
55-
.sub_bullet("sub bullet example one")
56-
.sub_bullet("sub bullet example two")
57-
.done();
52+
print::h2("Bullet section features");
53+
print::bullet("Bullet example");
54+
print::sub_bullet("Sub bullet example one");
55+
print::sub_bullet("Sub bullet example two");
5856

5957
output = output
6058
.bullet("Bullet section description")

0 commit comments

Comments
 (0)