File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
src/librustc/traits/specialize Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 88// option. This file may not be copied, modified, or distributed
99// except according to those terms.
1010
11- // Logic and data structures related to impl specialization, explained in
12- // greater detail below.
13- //
14- // At the moment, this implementation support only the simple "chain" rule:
15- // If any two impls overlap, one must be a strict subset of the other.
16- //
17- // See traits/README.md for a bit more detail on how specialization
18- // fits together with the rest of the trait machinery.
11+ //! Logic and data structures related to impl specialization, explained in
12+ //! greater detail below.
13+ //!
14+ //! At the moment, this implementation support only the simple "chain" rule:
15+ //! If any two impls overlap, one must be a strict subset of the other.
16+ //!
17+ //! See the [rustc guide] for a bit more detail on how specialization
18+ //! fits together with the rest of the trait machinery.
19+ //!
20+ //! [rustc guide]: https://rust-lang-nursery.github.io/rustc-guide/trait-specialization.html
1921
2022use super :: { SelectionContext , FulfillmentContext } ;
2123use super :: util:: impl_trait_ref_and_oblig;
You can’t perform that action at this time.
0 commit comments