Commit 047526d5 authored by David Lam's avatar David Lam Committed by Facebook Github Bot

Fix some typos in folly/io/IOBuf.h documentation

Summary: As title.

Reviewed By: yfeldblum

Differential Revision: D14638826

fbshipit-source-id: 1904a1e416f299c2cafc147a3eb15dad325ae240
parent a8422464
...@@ -115,7 +115,7 @@ namespace folly { ...@@ -115,7 +115,7 @@ namespace folly {
* ------------ * ------------
* *
* IOBuf objects also contain pointers to next and previous IOBuf objects. * IOBuf objects also contain pointers to next and previous IOBuf objects.
* This can be used to represent a single logical piece of data that its stored * This can be used to represent a single logical piece of data that is stored
* in non-contiguous chunks in separate buffers. * in non-contiguous chunks in separate buffers.
* *
* A single IOBuf object can only belong to one chain at a time. * A single IOBuf object can only belong to one chain at a time.
...@@ -130,8 +130,7 @@ namespace folly { ...@@ -130,8 +130,7 @@ namespace folly {
* it is simplest to treat this as if the head of the chain owns all other * it is simplest to treat this as if the head of the chain owns all other
* IOBufs in the chain. When you delete the head of the chain, it will delete * IOBufs in the chain. When you delete the head of the chain, it will delete
* the other elements as well. For this reason, prependChain() and * the other elements as well. For this reason, prependChain() and
* appendChain() take ownership of of the new elements being added to this * appendChain() take ownership of the new elements being added to this chain.
* chain.
* *
* When the coalesce() method is used to coalesce an entire IOBuf chain into a * When the coalesce() method is used to coalesce an entire IOBuf chain into a
* single IOBuf, all other IOBufs in the chain are eliminated and automatically * single IOBuf, all other IOBufs in the chain are eliminated and automatically
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment