From a5f5adb429f8b8ec9d8fc16a17870fe27c8c3669 Mon Sep 17 00:00:00 2001 From: Ryan Greenberg Date: Tue, 11 Sep 2012 16:59:56 -0700 Subject: [PATCH] Fix code block containing "type parameter" and dangling sentence --- web/_posts/2011-05-01-lesson.textile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/_posts/2011-05-01-lesson.textile b/web/_posts/2011-05-01-lesson.textile index 6cfc6728..9172633b 100644 --- a/web/_posts/2011-05-01-lesson.textile +++ b/web/_posts/2011-05-01-lesson.textile @@ -330,9 +330,7 @@ class BMW extends Car { h2(#types). Types -Earlier, you saw that we defined a function that took an Int which is a type of Number. Functions can also be generic and work on any type. When that occurs, you'll see a
type parameter
introduced with the square bracket syntax: - -You can introduce as many type parameters. Here's an example of a Cache of generic Keys and Values. +Earlier, you saw that we defined a function that took an Int which is a type of Number. Functions can also be generic and work on any type. When that occurs, you'll see a type parameter introduced with the square bracket syntax. Here's an example of a Cache of generic Keys and Values.
 trait Cache[K, V] {