• ###### birlandcommented on "Grasshopper - Messi Goals" rust solution

AHAHAHA, nice

• ###### taernsietrcommented on "Beginner Series #3 Sum of Numbers" rust solution

AFAIK, it's because i64 implements the trait Ord, which contains those methods.

• ###### Libertuscommented on "Function 2 - squaring an argument" rust solution

I did the same, but what if `n = 2_147_483_647` ?

• ###### Libertuscommented on "Grasshopper - Summation" rust solution

If you add or subtract zero, the result will not change, but there will be no unnecessary operation.

I also summed it up with zero.

• ###### nodakcommented on "Grasshopper - Messi Goals" rust solution

your brain is the compiler

• ###### mohiccommented on "Remove First and Last Character" rust solution

This comment is hidden because it contains spoiler information about the solution

• ###### silico_biomancercommented on "Remove First and Last Character" rust solution

This comment is hidden because it contains spoiler information about the solution

• ###### snowcra5hcommented on "Rock Paper Scissors!" rust solution

Nice solutions.

• ###### bucholskicommented on "Welcome!" rust solution

how is this the "best practices". I so don't get people on codewars...

• ###### joem91commented on "Switch it Up!" rust solution

It should panic, according to the description that's an invalid input.

• ###### salsadipomodorocommented on "Switch it Up!" rust solution

If you enter 11 the code will panic. I don't think this is a "best practice."

• ###### Smeddycommented on "Grasshopper - Messi Goals" rust solution

Great calculations! Awesome))

• ###### Funkicommented on "Is n divisible by x and y?" rust solution

Would you mind to elaborate? It's almost the same solution in C.

• ###### saladuitcommented on "Is n divisible by x and y?" rust solution

I find it very funny that I'm always overthinking things having a C background, does anyone have any tips?

• ###### akar-0commented on "Grasshopper - Summation" rust solution

The reason is people voted it.