diff options
author | Akshay <[email protected]> | 2020-04-16 09:11:04 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-04-16 09:11:04 +0100 |
commit | 2fda85fccb23212747828d0f3f55ae16e5ff956b (patch) | |
tree | 40928c8fda059b5a946bde16527ce7cd220b4605 /posts/rapid_refactoring_with_vim.md | |
parent | 2a778912251874f9b808f82e61244efcd12210aa (diff) |
reformat with right dates
Diffstat (limited to 'posts/rapid_refactoring_with_vim.md')
-rw-r--r-- | posts/rapid_refactoring_with_vim.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/posts/rapid_refactoring_with_vim.md b/posts/rapid_refactoring_with_vim.md index 4dd3186..e38cef3 100644 --- a/posts/rapid_refactoring_with_vim.md +++ b/posts/rapid_refactoring_with_vim.md | |||
@@ -8,7 +8,7 @@ vim :) | |||
8 | Here's a small sample of what had to be done (note the lines | 8 | Here's a small sample of what had to be done (note the lines |
9 | prefixed with the arrow): | 9 | prefixed with the arrow): |
10 | 10 | ||
11 | ``` | 11 | ```rust |
12 | → use serde_json::{from_str}; | 12 | → use serde_json::{from_str}; |
13 | 13 | ||
14 | #[test] | 14 | #[test] |
@@ -22,7 +22,7 @@ prefixed with the arrow): | |||
22 | 22 | ||
23 | had to be converted to: | 23 | had to be converted to: |
24 | 24 | ||
25 | ``` | 25 | ```rust |
26 | → use serde_json::{from_value}; | 26 | → use serde_json::{from_value}; |
27 | 27 | ||
28 | #[test] | 28 | #[test] |
@@ -42,7 +42,7 @@ containing tests. Luckily, modules (and therefore files) | |||
42 | containing tests in Rust are annotated with the | 42 | containing tests in Rust are annotated with the |
43 | `#[cfg(test)]` attribute. I opened all such files: | 43 | `#[cfg(test)]` attribute. I opened all such files: |
44 | 44 | ||
45 | ``` | 45 | ```bash |
46 | # `grep -l pattern files` lists all the files | 46 | # `grep -l pattern files` lists all the files |
47 | # matching the pattern | 47 | # matching the pattern |
48 | 48 | ||