diff --git a/.markdownlint.yaml b/.markdownlint.yaml index 9f35722..87a22d6 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -1,5 +1,4 @@ --- -MD004: false MD010: code_blocks: false MD013: diff --git a/patterns/newtype.md b/patterns/newtype.md index 5e12764..8eadde3 100644 --- a/patterns/newtype.md +++ b/patterns/newtype.md @@ -86,9 +86,9 @@ the wrapper type. Newtypes are very common in Rust code. Abstraction or representing units are the most common uses, but they can be used for other reasons: -* restricting functionality (reduce the functions exposed or traits implemented), -* making a type with copy semantics have move semantics, -* abstraction by providing a more concrete type and thus hiding internal types, e.g., +- restricting functionality (reduce the functions exposed or traits implemented), +- making a type with copy semantics have move semantics, +- abstraction by providing a more concrete type and thus hiding internal types, e.g., ```rust,ignore pub struct Foo(Bar);