Skip to content

Commit 2a901ef

Browse files
SeaOtocinclusmeta-codesync[bot]
authored andcommitted
Typo fixes - variables
Summary: Fixed various typos Error Types 1. Missing letter: shoudDrawLineAfter ('ou' → 'ould') 2. Missing letter: expectedOuput (missing second 't') Differential Revision: D89798504 fbshipit-source-id: 65dc39bd8e06a56efcf852ddb2aa56df6c58159a
1 parent 49e2b2b commit 2a901ef

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

third-party/folly/src/folly/Benchmark.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ runBenchmarksWithPrinterImpl(
832832
for (std::size_t i = 0; i != toRun.benchmarks.size(); ++i) {
833833
std::pair<double, UserCounters> elapsed;
834834
const detail::BenchmarkRegistration& bm = *toRun.benchmarks[i];
835-
bool shoudDrawLineAfter = shouldDrawLineTracker();
835+
bool shouldDrawLineAfter = shouldDrawLineTracker();
836836

837837
if (FLAGS_bm_profile) {
838838
elapsed = runProfilingGetNSPerIteration(bm.func, globalBaseline.first);
@@ -847,7 +847,7 @@ runBenchmarksWithPrinterImpl(
847847
// counters have been used, then the header can be printed out properly
848848
if (printer != nullptr) {
849849
printer->print({{bm.file, bm.name, elapsed.first, elapsed.second}});
850-
if (shoudDrawLineAfter) {
850+
if (shouldDrawLineAfter) {
851851
printer->separator('-');
852852
}
853853
}

third-party/folly/src/folly/chrono/Conv.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -523,12 +523,12 @@ auto posixTimeToDuration(
523523
// Perform the division as an integer, and check that the result fits in
524524
// the output integer type
525525
auto outputValue = (seconds / Tgt::period::num);
526-
auto expectedOuput = tryTo<typename Tgt::rep>(outputValue);
527-
if (expectedOuput.hasError()) {
528-
return makeUnexpected(expectedOuput.error());
526+
auto expectedOutput = tryTo<typename Tgt::rep>(outputValue);
527+
if (expectedOutput.hasError()) {
528+
return makeUnexpected(expectedOutput.error());
529529
}
530530

531-
return Tgt{expectedOuput.value()};
531+
return Tgt{expectedOutput.value()};
532532
}
533533
}
534534

0 commit comments

Comments
 (0)