From 7abb40c79ac8ed0d79fb45cd9ec4c3ba5c59fadf Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Tue, 9 Jun 2015 00:16:23 +0200 Subject: [PATCH] reference: improve readability --- src/doc/reference.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/doc/reference.md b/src/doc/reference.md index d56ecb360cfed..c85f51b78cd7e 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -1418,9 +1418,13 @@ impl Container for Vec { ``` Generic functions may use traits as _bounds_ on their type parameters. This -will have two effects: only types that have the trait may instantiate the -parameter, and within the generic function, the methods of the trait can be -called on values that have the parameter's type. For example: +will have two effects: + +- Only types that have the trait may instantiate the parameter. +- Within the generic function, the methods of the trait can be + called on values that have the parameter's type. + +For example: ``` # type Surface = i32;