Browse Source

fix typo in Documentation

Signed-off-by: Guanqun Lu <guanqun.lu@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Guanqun Lu 16 years ago committed by Junio C Hamano
parent
commit
c9a8abcf9a
  1. 2
      Documentation/technical/api-strbuf.txt

2
Documentation/technical/api-strbuf.txt

@ -21,7 +21,7 @@ allocated memory or not), use `strbuf_detach()` to unwrap a memory @@ -21,7 +21,7 @@ allocated memory or not), use `strbuf_detach()` to unwrap a memory
buffer from its strbuf shell in a safe way. That is the sole supported
way. This will give you a malloced buffer that you can later `free()`.
+
However, it it totally safe to modify anything in the string pointed by
However, it is totally safe to modify anything in the string pointed by
the `buf` member, between the indices `0` and `len-1` (inclusive).

. The `buf` member is a byte array that has at least `len + 1` bytes

Loading…
Cancel
Save