Skip to content

Commit 1227d5d

Browse files
committed
correct two nits
1 parent e9cb3d5 commit 1227d5d

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

text/0000-try-trait.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
- Feature Name: (fill me in with a unique ident, my_awesome_feature)
2-
- Start Date: (fill me in with today's date, YYYY-MM-DD)
1+
- Feature Name: `try_trait`
2+
- Start Date: 2017-01-19
33
- RFC PR: (leave this empty)
44
- Rust Issue: (leave this empty)
55

@@ -424,13 +424,14 @@ type to change.
424424
### What to name the trait
425425

426426
A number of names have been proposed for this trait. The original name
427-
was `Carrier`, as the trait "carrier" an error value. A proposed
428-
alternative was `QuestionMark`, named after the operator `?`. However,
429-
the general consensus seemed to be that since Rust operator
430-
overloading traits tend to be named after the *operation* that the
431-
operator performed (e.g., `Add` and not `Plus`, `Deref` and not `Star`
432-
or `Asterix`), it was more appropriate to name the trait `Try`, which
433-
seems to be the best name for the operation in question.
427+
was `Carrier`, as the implementing type was the "carrier" for an error
428+
value. A proposed alternative was `QuestionMark`, named after the
429+
operator `?`. However, the general consensus seemed to be that since
430+
Rust operator overloading traits tend to be named after the
431+
*operation* that the operator performed (e.g., `Add` and not `Plus`,
432+
`Deref` and not `Star` or `Asterix`), it was more appropriate to name
433+
the trait `Try`, which seems to be the best name for the operation in
434+
question.
434435

435436
# Unresolved questions
436437
[unresolved]: #unresolved-questions

0 commit comments

Comments
 (0)