Procházet zdrojové kódy

Removed trailing whitespace in hw1/task4

Joshua Rutschmann před 8 roky
rodič
revize
76af9947fe
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      hw1/task4/src/lib.rs

+ 1
- 1
hw1/task4/src/lib.rs Zobrazit soubor

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

Loading…
Zrušit
Uložit