Skip to content

Commit 48a5302

Browse files
marcoienisimonsan
andauthored
markdownlint: fix md004 (#175)
* markdownlint: fix md004 * use `-` for lists Co-authored-by: simonsan <[email protected]>
1 parent 7af948e commit 48a5302

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.markdownlint.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
MD004: false
32
MD010:
43
code_blocks: false
54
MD013:

patterns/newtype.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ the wrapper type.
8686
Newtypes are very common in Rust code. Abstraction or representing units are the
8787
most common uses, but they can be used for other reasons:
8888

89-
* restricting functionality (reduce the functions exposed or traits implemented),
90-
* making a type with copy semantics have move semantics,
91-
* abstraction by providing a more concrete type and thus hiding internal types, e.g.,
89+
- restricting functionality (reduce the functions exposed or traits implemented),
90+
- making a type with copy semantics have move semantics,
91+
- abstraction by providing a more concrete type and thus hiding internal types, e.g.,
9292

9393
```rust,ignore
9494
pub struct Foo(Bar<T1, T2>);

0 commit comments

Comments
 (0)