Crate rusty_utils

source ·
Expand description

A Rust package that provides utility functions inspired by or ported from other programming languages.

rusty_utils aims to simplify intricate and hard-to-read instructions in Rust, allowing you to express complex operations with clarity and brevity. Inspired by the conciseness of other programming languages, rusty_utils provides a set of functions that compact multiple steps into a single, readable call.

Functions

  • Allows the user to concatenate multiple arrays without having to worry about array sizing.
  • Compacts the standar string_value.chars().rev().collect() into a single call, to improve readability.
  • Compacts the standard if (condition) {} else {} into a single call, to improve readability and please users accustomed to the ternary operator in other languages.