Browse Source

Ran rustfmt on lib.rs of task2

Joshua Rutschmann 8 years ago
parent
commit
660e299afe
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      hw2/task2/src/lib.rs

+ 3
- 3
hw2/task2/src/lib.rs View File

9
     let mut count = 0;
9
     let mut count = 0;
10
     for c in conf.line.chars() {
10
     for c in conf.line.chars() {
11
         if c == conf.search {
11
         if c == conf.search {
12
-        count = count + 1;
12
+            count = count + 1;
13
         }
13
         }
14
-    }   
14
+    }
15
     count
15
     count
16
-  }
16
+}
17
 
17
 
18
 
18
 
19
 impl Config {
19
 impl Config {

Loading…
Cancel
Save