Ad
  • Custom User Avatar

    Thanks for the link!

  • Custom User Avatar

    The description says:

    Take an integer n (n >= 0) and a digit d (0 <= d <= 9) as an integer

    Storing a number d (0 <= d <= 9) in an i32 does not cause any problem. Moreover I will not change the signature of the function when 160 guys passed the Rust kata, I will be afraid that invalidates all solutions.
    Is it that which prevented you to pass?