setset: fix API to match strmap and common sense.
[ccan] / ccan / strset / _info
index 81e8f53cca08b73a3c1322d2da1cb6b7d4064c9a..a3192325db721c67e374c354375317216709c577 100644 (file)
@@ -38,7 +38,7 @@
  *             for (word = strtok(file, " \t\r\n");
  *                  word;
  *                  word = strtok(NULL, " \t\r\n")) {
- *                     strset_set(&words, word);
+ *                     strset_add(&words, word);
  *             }
  *             strset_iterate(&words, dump, NULL);
  *             printf("\n");