diff --git a/src/ch10-02-traits.md b/src/ch10-02-traits.md index a6aff3418..9369826b2 100644 --- a/src/ch10-02-traits.md +++ b/src/ch10-02-traits.md @@ -146,8 +146,8 @@ imagine we had a function that wanted to call `print` for any type that supports printing. We could write it like this: ```rust,ignore -fn print(value: v) { - v.print(); +fn print(value: T) { + value.print(); } ```