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

Unified Diff: pkg/matcher/lib/src/util.dart

Issue 629113002: Adjusting matcher comments with one-line summaries (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merging master Created 6 years, 2 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 | « pkg/matcher/lib/src/string_matchers.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/matcher/lib/src/util.dart
diff --git a/pkg/matcher/lib/src/util.dart b/pkg/matcher/lib/src/util.dart
index 08cba77eb49ddf6da3d9598019c1118df0e57e7b..3ecc47c5846d14842aca546698e828441a676497 100644
--- a/pkg/matcher/lib/src/util.dart
+++ b/pkg/matcher/lib/src/util.dart
@@ -15,7 +15,8 @@ void addStateInfo(Map matchState, Map values) {
matchState.addAll(values);
}
-/// Takes an argument and returns an equivalent matcher.
+/// Takes an argument and returns an equivalent [Matcher].
+///
/// If the argument is already a matcher this does nothing,
/// else if the argument is a function, it generates a predicate
/// function matcher, else it generates an equals matcher.
« no previous file with comments | « pkg/matcher/lib/src/string_matchers.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698