From b87a883fa44b0986a2ef131c916c3486a416ced0 Mon Sep 17 00:00:00 2001 From: Patrick R Date: Wed, 22 Feb 2017 21:48:14 +0100 Subject: [PATCH] Corrects a mistake in the article on implicit conversions --- tutorials/tour/_posts/2017-02-13-implicit-conversions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/tour/_posts/2017-02-13-implicit-conversions.md b/tutorials/tour/_posts/2017-02-13-implicit-conversions.md index 87dfa4a132..82bed34611 100644 --- a/tutorials/tour/_posts/2017-02-13-implicit-conversions.md +++ b/tutorials/tour/_posts/2017-02-13-implicit-conversions.md @@ -16,7 +16,7 @@ An implicit conversion from type `S` to type `T` is defined by an implicit value Implicit conversions are applied in two situations: * If an expression `e` is of type `S`, and `S` does not conform to the expression's expected type `T`. -* In a selection `e.m` with `e` of type `T`, if the selector `m` does not denote a member of `T`. +* In a selection `e.m` with `e` of type `S`, if the selector `m` does not denote a member of `S`. In the first case, a conversion `c` is searched for which is applicable to `e` and whose result type conforms to `T`. In the second case, a conversion `c` is searched for which is applicable to `e` and whose result contains a member named `m`.