Skip to content

List of Rust Kata to Update

Voile edited this page Apr 29, 2021 · 60 revisions

Preloaded Code

From Rust 1.50, we stopped concatenating preloaded code and started to use preloaded.rs. This fixes the line number mismatch, minimizes the awkwardness, and makes it easier for users to solve locally.

This breaks existing solutions for kata using preloaded because the solution must include mod preloaded; now. But it's better to do this now considering how Rust is getting more and more popular on Codewars.

This section lists affected kata and what we can do about them. Fortunately, it looks like many of them can avoid breaking existing solutions.

For affected kata, also consider fixing any unidiomatic Rust because it's a breaking change anyway.

  1. Find the Capitals Consider removing the Rust version as the kata is not suitable for Rust

Unidiomatic Rust?

  1. Transforming Maze Solver Return empty Vec when no solution.

Use float_eq

float_eq was added to Rust 1.50. The following kata have tests matching /assert_fuzzy/, so it should probably be replaced.

nil

Clone this wiki locally