Skip to content

Commit 3751912

Browse files
committed
DOC: Fix typos
1 parent f6222f9 commit 3751912

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

cmake/StandardSettings.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ option(${PROJECT_NAME_UPPERCASE}_ENABLE_TSAN "Enable thread sanitizer." OFF)
4343
option(${PROJECT_NAME_UPPERCASE}_ENABLE_UBSAN "Enable undefined behavior sanitizer." OFF)
4444

4545
#
46-
# Miscelanious options
46+
# Miscellaneous options
4747
#
4848

4949
# Generate compile_commands.json for clang based tools

cmake/Utils.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function(verbose_message content)
1010
endfunction()
1111

1212
#
13-
# Add a target for formating the project using `clang-format` (i.e: cmake --build build --target clang-format)
13+
# Add a target for formatting the project using `clang-format` (i.e: cmake --build build --target clang-format)
1414
#
1515

1616
function(add_clang_format_target)

include/databento/dbn.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ struct Metadata {
7676
// This method is useful when working with a historical request over a single
7777
// day or in other situations where you're sure the mappings don't change
7878
// during the time range of the request. Otherwise, `SymbolMap()` is
79-
// recommmended.
79+
// recommended.
8080
PitSymbolMap CreateSymbolMapForDate(date::year_month_day date) const;
8181
// Creates a symbology mapping from instrument ID and date to text symbol.
8282
TsSymbolMap CreateSymbolMap() const;

include/databento/detail/buffer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Buffer : public IReadable, public IWritable {
4343
std::byte* ReadEnd() { return write_pos_; }
4444
const std::byte* ReadBegin() const { return read_pos_; }
4545
const std::byte* ReadEnd() const { return write_pos_; }
46-
// Indicate how mnay bytes were read
46+
// Indicate how many bytes were read
4747
void Consume(std::size_t length) {
4848
read_pos_ += length;
4949
if (static_cast<std::size_t>(read_pos_ - buf_.get()) > (Capacity() / 2)) {

tests/src/batch_tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
namespace databento::tests {
88
TEST(BatchTests, TestBatchJobToString) {
9-
const BatchJob target{"aNiD",
9+
const BatchJob target{"AN_ID",
1010
"USER",
1111
12.39,
1212
dataset::kXnasItch,
@@ -38,7 +38,7 @@ TEST(BatchTests, TestBatchJobToString) {
3838
{}};
3939
const auto res = ToString(target);
4040
ASSERT_EQ(res, R"(BatchJob {
41-
id = "aNiD",
41+
id = "AN_ID",
4242
user_id = "USER",
4343
cost_usd = 12.39,
4444
dataset = "XNAS.ITCH",

tests/src/historical_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ static const nlohmann::json kListFilesResp{
227227
{"hash", {}},
228228
{"urls",
229229
{{"https", "https://api.databento.com/v0/job_id/test.dbn"},
230-
{"ftp", "ftp://fpt.databento.com/job_id/test.dbn"}}}},
230+
{"ftp", "ftp://ftp.databento.com/job_id/test.dbn"}}}},
231231
{{"filename", "test_metadata.json"},
232232
{"size", {}},
233233
{"hash", {}},

0 commit comments

Comments
 (0)