Browse Source

Removed trailing whitespace in hw1/task4

Joshua Rutschmann 8 years ago
parent
commit
76af9947fe
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      hw1/task4/src/lib.rs

+ 1
- 1
hw1/task4/src/lib.rs View File

9
 pub fn sum_of_squares(n: i32) -> i32 {
9
 pub fn sum_of_squares(n: i32) -> i32 {
10
     let mut i: i32 = 0;
10
     let mut i: i32 = 0;
11
     for x in 1..n+1 {
11
     for x in 1..n+1 {
12
-       i += x.pow(2); 
12
+       i += x.pow(2);
13
     }
13
     }
14
     i
14
     i
15
 }
15
 }

Loading…
Cancel
Save