Skip to content
Browse files

Fix code block containing "type parameter" and dangling sentence

  • Loading branch information...
1 parent 6ff8726 commit a5f5adb429f8b8ec9d8fc16a17870fe27c8c3669 @ryangreenberg ryangreenberg committed Sep 11, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 web/_posts/2011-05-01-lesson.textile
View
4 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 <code>Int</code> which is a type of Number. Functions can also be generic and work on any type. When that occurs, you'll see a <pre>type parameter</pre> 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 <code>Int</code> 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.
<pre>
trait Cache[K, V] {

0 comments on commit a5f5adb

Please sign in to comment.
Something went wrong with that request. Please try again.