mirror of
https://github.com/rust-lang/book.git
synced 2026-09-15 03:08:53 -04:00
Merge pull request #919 from eldruin/master
Chapter 10.02: Remove superfluous 'only'
This commit is contained in:
@@ -187,7 +187,7 @@ behavior. When we implement the trait on a particular type, we can choose to
|
||||
keep or override each method’s default behavior.
|
||||
|
||||
Listing 10-15 shows how we could have chosen to specify a default string for
|
||||
the `summary` method of the `Summarize` trait instead of only choosing to only
|
||||
the `summary` method of the `Summarize` trait instead of choosing to only
|
||||
define the method signature like we did in Listing 10-12:
|
||||
|
||||
<span class="filename">Filename: lib.rs</span>
|
||||
|
||||
Reference in New Issue
Block a user