You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: text/3245-refined-impls.md
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -177,13 +177,13 @@ Each associated item defined in the implementation meet the following conditions
177
177
* Each where clause must be implied by the where clauses on the trait itself and/or the associated function in the trait definition, where "implied" is limited to supertrait and outlives relations. _This would be expanded to all [implied bounds] when that feature is enabled._
178
178
* Must not be marked `unsafe` unless the trait definition is also marked `unsafe`.
179
179
180
-
When an item in an impl meets these conditions, we say it is a valid refinement of the trait item.
180
+
When an item in an impl meets these conditions, we say it is a _valid refinement_ of the trait item.
Refined APIs are available anywhere knowledge of the impl being used is available. If the compiler can deduce a particular impl is being used, its API is available for use by the caller. This includes UFCS calls like `<MyType as Trait>::foo()`.
186
+
Refined APIs are available anywhere knowledge of the impl being used is available. If the compiler can deduce a particular impl is being used, its API as written is available for use by the caller. This includes UFCS calls like `<MyType as Trait>::foo()`.
187
187
188
188
## Transitioning away from the current behavior
189
189
@@ -277,8 +277,6 @@ Should the `nth` method also be considered `const fn`?
0 commit comments