Skip to content

Commit ca27f93

Browse files
committed
make wording clearer
1 parent 62a8c6f commit ca27f93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ch10-02-traits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ reduce duplication but also specify to the compiler that we want the generic
610610
type to have particular behavior. The compiler can then use the trait bound
611611
information to check that all the concrete types used with our code provide the
612612
correct behavior. In dynamically typed languages, we would get an error at
613-
runtime if we called a method on a type that the type didn’t implement. But
613+
runtime if we called a method on a type which didn’t implement the method. But
614614
Rust moves these errors to compile time so we’re forced to fix the problems
615615
before our code is even able to run. Additionally, we don’t have to write code
616616
that checks for behavior at runtime because we’ve already checked at compile

0 commit comments

Comments
 (0)