aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/q.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/q.js')
-rw-r--r--src/ng/q.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ng/q.js b/src/ng/q.js
index a9eed738..be5bd6f4 100644
--- a/src/ng/q.js
+++ b/src/ng/q.js
@@ -480,8 +480,8 @@ function qFactory(nextTick, exceptionHandler) {
* @param {Array.<Promise>|Object.<Promise>} promises An array or hash of promises.
* @returns {Promise} Returns a single promise that will be resolved with an array/hash of values,
* each value corresponding to the promise at the same index/key in the `promises` array/hash. If any of
- * the promises is resolved with a rejection, this resulting promise will be resolved with the
- * same rejection.
+ * the promises is resolved with a rejection, this resulting promise will be rejected with the
+ * same rejection value.
*/
function all(promises) {
var deferred = defer(),