Generics are a way to make a function or a type work for multiple types to avoid code duplication. Let's rewrite our max function to make it generic: fn ...
確定! 回上一頁