Skip to content

Commit 7c4bcd0

Browse files
authored
Update README.md
1 parent 55f9937 commit 7c4bcd0

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

README.md

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -74,39 +74,6 @@
7474

7575
<p>Yes, I have combined several language formatters into one utility, and if they are not installed, they will be installed by you (this should be the case, but there are some bugs that I cannot fix at the moment)</p>
7676

77-
<h1>An illustrative example of code formatting:</h1>
78-
<pre><code>
79-
80-
// before
81-
fn main() {
82-
let number = 5;
83-
84-
if number < 0 {
85-
println!("Nubmer is negative");
86-
} else if number == 0 {
87-
println!("Number is zero");
88-
} else if number > 0 && number < 10 {
89-
println!("Number is positive and less than 10");
90-
} else {
91-
println!("Number is positive and greater than or equal to 10");
92-
}
93-
}
94-
</pre></code>
95-
<pre><code>
96-
// after
97-
fn main() {
98-
let number = 5;
99-
100-
match number {
101-
n if n < 0 => println!("Nubmer is negative"),
102-
0 => println!("Number is zero"),
103-
n if n > 0 && n < 10 => println!("Number is positive and less than 10"),
104-
_ => println!("Number is positive and greater than or equal to 10"),
105-
}
106-
}
107-
108-
</pre></code>
109-
11077
<h1>How to use?</h1>
11178
<p>1. Just download latest release</p>
11279
<p>2. Move file in "protof.exe" to some directory</p>

0 commit comments

Comments
 (0)