3 ms·
If you assume a similar set of primitives, it could be as simple as html2text(get("https://go.dev/doc/devel/release")).find_all("\bgo\d+\.\d+\.\d+\b").sorte
by n_plus_1_acc 3y ago
If you assume a similar set of primitives, it could be as simple as
html2text(get("https://go.dev/doc/devel/release")).find_all("\bgo\d+\.\d+\.\d+\b").sorted().unique().last()
It's just that Rust is designed to be more robust in exchange for stricter Compiler time checks.