Use the concrete type instead of the generic: impl MyStruct<String> { fn my_function(&self) -> Vec<String> {} }. See also: "Expected type parameter" error ...
確定! 回上一頁