Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(552)

Unified Diff: sdk/lib/core/string.dart

Issue 2621563004: Fix typo in padLeft/padRight documentation. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/string.dart
diff --git a/sdk/lib/core/string.dart b/sdk/lib/core/string.dart
index 40d87bf5381e660d11dc6f9b449f05f4c6f40144..78818b7d7555f94f5f8e135a2ce48e77e64dd453 100644
--- a/sdk/lib/core/string.dart
+++ b/sdk/lib/core/string.dart
@@ -360,7 +360,7 @@ abstract class String implements Comparable<String>, Pattern {
String operator *(int times);
/**
- * Pads this string on the left if it is shorther than [width].
+ * Pads this string on the left if it is shorter than [width].
*
* Return a new string that prepends [padding] onto this string
* one time for each position the length is less than [width].
@@ -378,7 +378,7 @@ abstract class String implements Comparable<String>, Pattern {
String padLeft(int width, [String padding = ' ']);
/**
- * Pads this string on the right if it is shorther than [width].
+ * Pads this string on the right if it is shorter than [width].
*
* Return a new string that appends [padding] after this string
* one time for each position the length is less than [width].
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698