diff --git a/.markdownlint.yaml b/.markdownlint.yaml
index b44e386..41ea186 100644
--- a/.markdownlint.yaml
+++ b/.markdownlint.yaml
@@ -1,5 +1,3 @@
---
MD004: false
-MD010:
- code_blocks: false
MD013: false
diff --git a/functional/index.html b/functional/index.html
index 0a3d7b1..041bca5 100644
--- a/functional/index.html
+++ b/functional/index.html
@@ -175,7 +175,7 @@
fn main() {
let mut sum = 0;
for i in 1..11 {
- sum += i;
+ sum += i;
}
println!("{}", sum);
}
diff --git a/idioms/pass-var-to-closure.html b/idioms/pass-var-to-closure.html
index 86d2bc0..14afcb0 100644
--- a/idioms/pass-var-to-closure.html
+++ b/idioms/pass-var-to-closure.html
@@ -206,7 +206,7 @@ let num3 = Rc::new(3);
let num2_cloned = num2.clone();
let num3_borrowed = num3.as_ref();
let closure = move || {
- *num1 + *num2_cloned + *num3_borrowed;
+ *num1 + *num2_cloned + *num3_borrowed;
};
}
diff --git a/idioms/temporary-mutability.html b/idioms/temporary-mutability.html
index 3ff9727..c350c76 100644
--- a/idioms/temporary-mutability.html
+++ b/idioms/temporary-mutability.html
@@ -176,9 +176,9 @@ and never modified. The intention can be made explicit by redefining the mutable
Say, vector must be sorted before usage. Using nested block: Say, vector must be sorted before usage. Using nested block:
@@ -1255,9 +1255,9 @@ and never modified. The intention can be made explicit by redefining the mutable
let data = {
- let mut data = get_vec();
- data.sort();
- data
+ let mut data = get_vec();
+ data.sort();
+ data
};
// Here `data` is immutable.
diff --git a/print.html b/print.html
index f9c46ae..cb64c44 100644
--- a/print.html
+++ b/print.html
@@ -1144,7 +1144,7 @@ let num3 = Rc::new(3);
let num2_cloned = num2.clone();
let num3_borrowed = num3.as_ref();
let closure = move || {
- *num1 + *num2_cloned + *num3_borrowed;
+ *num1 + *num2_cloned + *num3_borrowed;
};
}
let data = {
- let mut data = get_vec();
- data.sort();
- data
+ let mut data = get_vec();
+ data.sort();
+ data
};
// Here `data` is immutable.
@@ -2404,7 +2404,7 @@ conversion between arbitrary types.