Skip to content

Commit 723def2

Browse files
committed
update docs
1 parent 513a647 commit 723def2

File tree

1 file changed

+4
-4
lines changed
  • src/librustc_typeck/check/method

1 file changed

+4
-4
lines changed

src/librustc_typeck/check/method/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,11 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
171171
///
172172
/// Given a method call like `foo.bar::<T1,...Tn>(...)`:
173173
///
174-
/// * `fcx`: the surrounding `FnCtxt` (!)
175-
/// * `span`: the span for the method call
176-
/// * `method_name`: the name of the method being called (`bar`)
174+
/// * `self`: the surrounding `FnCtxt` (!)
177175
/// * `self_ty`: the (unadjusted) type of the self expression (`foo`)
178-
/// * `supplied_method_types`: the explicit method type parameters, if any (`T1..Tn`)
176+
/// * `segment`: the name and generic arguments of the method (`bar::<T1, ...Tn>`)
177+
/// * `span`: the span for the method call
178+
/// * `call_expr`: the complete method call: (`foo.bar::<T1,...Tn>(...)`)
179179
/// * `self_expr`: the self expression (`foo`)
180180
pub fn lookup_method(
181181
&self,

0 commit comments

Comments
 (0)