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

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

Issue 2994053003: Update `String.replaceFirstMapped` documentation. (Closed)
Patch Set: Created 3 years, 4 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 18ee8c3cc44f524f3e306ed7b5e19dd81719af9b..bf181215406f99b76a2bd7ac83c86ef91dfa7c03 100644
--- a/sdk/lib/core/string.dart
+++ b/sdk/lib/core/string.dart
@@ -436,10 +436,6 @@ abstract class String implements Comparable<String>, Pattern {
*
* The optional [startIndex] is by default set to 0. If provided, it must be
* an integer in the range `[0 .. len]`, where `len` is this string's length.
- *
- * If the value returned by calling `replace` is not a [String], it
- * is converted to a `String` using its `toString` method, which must
- * then return a string.
*/
String replaceFirstMapped(Pattern from, String replace(Match match),
[int startIndex = 0]);
« 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