Skip to content

Commit

Permalink
Don't put a hyphen in 'object safe'. Fixes #2960.
Browse files Browse the repository at this point in the history
  • Loading branch information
carols10cents committed Jan 28, 2022
1 parent 8514490 commit 8b98b7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch17-02-trait-objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ to consider.

### Object Safety Is Required for Trait Objects

You can only make *object-safe* traits into trait objects. Some complex rules
You can only make *object safe* traits into trait objects. Some complex rules
govern all the properties that make a trait object safe, but in practice, only
two rules are relevant. A trait is object safe if all the methods defined in
the trait have the following properties:
Expand Down

0 comments on commit 8b98b7b

Please sign in to comment.