Skip to content

Commit 771f50a

Browse files
authored
Fix typo in sample code.
1 parent acd0d90 commit 771f50a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/101-samples/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ error = git_tree_lookup(&tree, repo, &oid);
338338
git_blob *blob;
339339
error = git_blob_lookup(&blob, repo, &oid);
340340
341-
git_tag tag;
341+
git_tag *tag;
342342
error = git_tag_lookup(&tag, repo, &oid);
343343
~~~
344344

0 commit comments

Comments
 (0)