x/talks/2014/readability: fix some typo

Change-Id: If39a94e64dab9787f73679ed28e6626e650c9eb9
Reviewed-on: https://go-review.googlesource.com/1874
Reviewed-by: Minux Ma <minux@golang.org>
diff --git a/2014/readability.slide b/2014/readability.slide
index 8c27a0e..bb6246a 100644
--- a/2014/readability.slide
+++ b/2014/readability.slide
@@ -209,7 +209,7 @@
 
 - [[https://golang.org/s/comments#Package_Names][SamplingServer in sampling package is stutter]]. Name `Server`, which clients will write as `sampling.Server`.
 - Use [[https://golang.org/s/comments#Receiver_Names][one or two letters for receiver names]].
-- Use short namse for parameters since type name will give some information.
+- Use short names for parameters since type name will give some information.
 - Use descriptive names for basic types, though.
 - Use short names for local variables: prefer `i` to `index`, `r` to `reader`.
 - Short names should be fine if function is not long.
diff --git a/2014/readability/in-band-error.go b/2014/readability/in-band-error.go
index 2545e48..47ae9b3 100644
--- a/2014/readability/in-band-error.go
+++ b/2014/readability/in-band-error.go
@@ -17,7 +17,7 @@
 	case -2:
 		return -2 // HL
 	default:
-		return time.Duation(durationUsec) * time.Microsecond // HL
+		return time.Duration(durationUsec) * time.Microsecond // HL
 	}
 	return -3 // HL
 }