From bfb500110b33cdd835bbcdb07a4c8c245443b495 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Sat, 2 Feb 2019 13:19:30 -0800 Subject: [PATCH] Spelling --- include/boost/beast/core/buffers_prefix.hpp | 2 +- test/doc/websocket_snippets.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/beast/core/buffers_prefix.hpp b/include/boost/beast/core/buffers_prefix.hpp index 57c6eb38..50fe0a71 100644 --- a/include/boost/beast/core/buffers_prefix.hpp +++ b/include/boost/beast/core/buffers_prefix.hpp @@ -24,7 +24,7 @@ namespace boost { namespace beast { -/** A buffer sequence adapter that shortens the sequence size. +/** A buffer sequence adaptor that shortens the sequence size. The class adapts a buffer sequence to efficiently represent a shorter subset of the original list of buffers starting diff --git a/test/doc/websocket_snippets.cpp b/test/doc/websocket_snippets.cpp index 5008334b..fa2e3214 100644 --- a/test/doc/websocket_snippets.cpp +++ b/test/doc/websocket_snippets.cpp @@ -195,7 +195,7 @@ boost::ignore_unused(ec); // message was in binary mode, otherwise we will send in text mode. ws.binary(ws.got_binary()); - // This buffer adapter allows us to iterate through buffer in pieces + // This buffer adaptor allows us to iterate through buffer in pieces buffers_suffix cb{buffer.data()}; // Echo the received message in pieces. @@ -210,7 +210,7 @@ boost::ignore_unused(ec); // the stream that the message is not complete. ws.write_some(false, buffers_prefix(512, cb)); - // This efficiently discards data from the adapter by + // This efficiently discards data from the adaptor by // simply ignoring it, but does not actually affect the // underlying dynamic buffer. cb.consume(512);