submodule: git submodule dup documentation has been fixed.
diff --git a/include/git2/submodule.h b/include/git2/submodule.h
index e5bd4c7..857c62f 100644
--- a/include/git2/submodule.h
+++ b/include/git2/submodule.h
@@ -227,8 +227,8 @@ GIT_EXTERN(int) git_submodule_lookup(
* Create an in-memory copy of a submodule. The copy must be explicitly
* free'd or it will leak.
*
- * @param out Pointer to store the copy of the submodule
- * @param source Original tag to copy
+ * @param out Pointer to store the copy of the submodule. Cannot be NULL.
+ * @param source Original submodule to copy.
*/
GIT_EXTERN(int) git_submodule_dup(git_submodule **out, git_submodule *source);