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

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

Issue 2655883002: fix spelling in core libraries (Closed)
Patch Set: while I’m at it… 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 | « sdk/lib/core/stopwatch.dart ('k') | sdk/lib/core/symbol.dart » ('j') | 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 38df590e9d7da5cd5a86c3699ba589f429a406ff..bd3a15e40ee80c824c23218325887315d55e533c 100644
--- a/sdk/lib/core/string.dart
+++ b/sdk/lib/core/string.dart
@@ -413,7 +413,7 @@ abstract class String implements Comparable<String>, Pattern {
bool contains(Pattern other, [int startIndex = 0]);
/**
- * Returns a new string in which the first occurence of [from] in this string
+ * Returns a new string in which the first occurrence of [from] in this string
* is replaced with [to], starting from [startIndex]:
*
* '0.0001'.replaceFirst(new RegExp(r'0'), ''); // '.0001'
@@ -422,7 +422,7 @@ abstract class String implements Comparable<String>, Pattern {
String replaceFirst(Pattern from, String to, [int startIndex = 0]);
/**
- * Replace the first occurence of [from] in this string.
+ * Replace the first occurrence of [from] in this string.
*
* Returns a new string, which is this string
* except that the first match of [pattern], starting from [startIndex],
« no previous file with comments | « sdk/lib/core/stopwatch.dart ('k') | sdk/lib/core/symbol.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698