Help with understanding Rust syntax

type Result<T = Response> = Result<T, Error>;

What does T = Response mean here? Thanks.
Link

See https://doc.rust-lang.org/book/ch19-03-advanced-traits.html#default-generic-type-parameters-and-operator-overloading

Thanks. I didn't know what to google for. :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.