File tree 1 file changed +10
-8
lines changed
src/librustc/traits/specialize
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
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
19
21
20
22
use super :: { SelectionContext , FulfillmentContext } ;
21
23
use super :: util:: impl_trait_ref_and_oblig;
You can’t perform that action at this time.
0 commit comments