Rust | How To Make an HTTP Request in Rust? (Step-by-step)

If you are relatively new to Rust, you probably have gone through a decent learning curve to understand the programming language concepts. Working with hardcoded data in your projects is not common when working on real-world application, but rather making HTTP requests to fetch data from other APIs. After all, do you know how to … Read more

Rust | Difference Between iter(), iter_mut(), into_iter()

Rust iterators are data structures that contain a sequence of objects and allow the programmer to iterate them efficiently. However, like most things in Rust, iterators have a steep learning curve. The primary functions and concepts can be daunting, but don’t worry, we are here to do our absolute best to explain them. All three … Read more

Rust | Println! Doesn’t Work in Unit Tests (Solved)

If you are new to Rust programming language, there is a chance you are experiencing a deep learning curve in understanding how the programming language works. On top of that, you start writing your first couple of unit tests and suddenly realize that the logs from using the print or println! macro are not displayed … Read more

How to Fix `T` doesn’t implement std:fmt:Display in Rust?

Developers who come from a JavaScript background, or any other high-level programming language, and are learning Rust might find this language to have a steep learning curve. Oftentimes, many new Rust developers will come across the error doesn’t implement std:fmt:Display when attempting to print a value that is not a string, like the one we … Read more

How to Split a String in Rust? (Explained with Examples)

Regardless of the programming language, splitting a string is a common practice that programmers, developers, and software engineers will have to do at some point during their careers. In this article, we are going to explain how to split a string using Rust programming language, and the different alternatives available. Note: While the main question … Read more