transform, unicode/cldr: spell "Deprecated: Use etc" consistently
Change-Id: I5194e58a7679e33555856a413f6081fea26d8e34
Reviewed-on: https://go-review.googlesource.com/c/text/+/171277
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
diff --git a/transform/transform.go b/transform/transform.go
index 919e3d9..520b9ad 100644
--- a/transform/transform.go
+++ b/transform/transform.go
@@ -493,7 +493,7 @@
return dstL.n, srcL.p, err
}
-// Deprecated: use runes.Remove instead.
+// Deprecated: Use runes.Remove instead.
func RemoveFunc(f func(r rune) bool) Transformer {
return removeF(f)
}
diff --git a/unicode/cldr/cldr.go b/unicode/cldr/cldr.go
index 052845f..f39b2e3 100644
--- a/unicode/cldr/cldr.go
+++ b/unicode/cldr/cldr.go
@@ -96,7 +96,7 @@
// LDML returns the fully resolved LDML XML for loc, which must be one of
// the strings returned by Locales.
//
-// Deprecated: use RawLDML and implement inheritance manually or using the
+// Deprecated: Use RawLDML and implement inheritance manually or using the
// internal cldrtree package.
// Inheritance has changed quite a bit since the onset of this package and in
// practice data often represented in a way where knowledge of how it was