Rust shenanigans: return type polymorphism
In this article, I will describe Rust return type polymorphism (a.k.a. generic returns), a feature that I recently discovered and that I have been pretty intrigued about.
Source: Rust shenanigans: return type polymorphism, an article by Luciano Mammino.