From 0b88c5d392a3a21dc3ff4202c243f6af59acaa2c Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Mon, 15 Dec 2014 05:45:14 -0500 Subject: [PATCH] Remove text on method matching, which is now out of date. --- src/librustc/middle/traits/doc.rs | 7 ------- 1 file changed, 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` 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