浏览代码

Ran rustfmt on lib.rs of task2

Joshua Rutschmann 8 年前
父节点
当前提交
660e299afe
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      hw2/task2/src/lib.rs

+ 3
- 3
hw2/task2/src/lib.rs 查看文件

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 {

正在加载...
取消
保存