diff --git a/lib/indexes.js b/lib/indexes.js index c776e7e..b7766ab 100644 --- a/lib/indexes.js +++ b/lib/indexes.js @@ -62,7 +62,7 @@ Index.prototype.insert = function (doc) { /** * Insert an array of documents in the index - * If a constraint is violated, an error should be thrown and the changes rolled back + * If a constraint is violated, the changes should be rolled back and an error thrown * * @API private */