diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2014-12-15 05:45:14 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2014-12-19 03:29:31 -0500 |
| commit | 0b88c5d392a3a21dc3ff4202c243f6af59acaa2c (patch) | |
| tree | b58177c103a8cbe552b44794eefb413393f10820 | |
| parent | dab6e70e03b569c72ad74328ad91f48a2e00e44f (diff) | |
| download | rust-0b88c5d392a3a21dc3ff4202c243f6af59acaa2c.tar.gz rust-0b88c5d392a3a21dc3ff4202c243f6af59acaa2c.zip | |
Remove text on method matching, which is now out of date.
| -rw-r--r-- | src/librustc/middle/traits/doc.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/librustc/middle/traits/doc.rs b/src/librustc/middle/traits/doc.rs index b0addfa0bd9..c435697d85c 100644 --- a/src/librustc/middle/traits/doc.rs +++ b/src/librustc/middle/traits/doc.rs @@ -272,13 +272,6 @@ nested obligation `int : Bar<U>` to find out that `U=uint`. It would be good to only do *just as much* nested resolution as necessary. Currently, though, we just do a full resolution. -## Method matching - -Method dispach follows a slightly different path than normal trait -selection. This is because it must account for the transformed self -type of the receiver and various other complications. The procedure is -described in `select.rs` in the "METHOD MATCHING" section. - # Caching and subtle considerations therewith In general we attempt to cache the results of trait selection. This |
