Skip to content

Commit 9f01400

Browse files
MacroFakeknst
authored andcommitted
Merge bitcoin#25200: doc: Fix spelling errors identified by codespell in comments
f565b28 Fixup option name in bench message (Ben Woosley) bf209ac doc: Fix spelling errors identified by codespell in coments (Ben Woosley) Pull request description: From the output [here](https://cirrus-ci.com/task/5275612980969472?logs=lint#L849): ``` src/qt/test/addressbooktests.cpp:185: wilcard ==> wildcard src/qt/test/addressbooktests.cpp:191: wilcard ==> wildcard src/test/miniscript_tests.cpp:227: nd ==> and, 2nd src/test/versionbits_tests.cpp:260: everytime ==> every time src/util/time.h:89: precicion ==> precision src/util/time.h:90: precicion ==> precision ^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/spelling.ignore-words.txt ``` ~~I left the 'nd' in miniscript_tests as-is, as it's valid miniscript, and I'm wary of whitelisting it.~~ ACKs for top commit: dunxen: ACK f565b28 Tree-SHA512: 501a426c5f6f9761e2c8f980d5d955611428a827321888f53e0ae9526b0fecd43f9d1fa845fc70ae2489d77be6dc0b5b371dff55c5146f4b39ed874f4a1ea917
1 parent 6753e26 commit 9f01400

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/util/time.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ void SetMockTime(std::chrono::seconds mock_time_in);
8787
std::chrono::seconds GetMockTime();
8888

8989
/**
90-
* Return the current time point cast to the given precicion. Only use this
91-
* when an exact precicion is needed, otherwise use T::clock::now() directly.
90+
* Return the current time point cast to the given precision. Only use this
91+
* when an exact precision is needed, otherwise use T::clock::now() directly.
9292
*/
9393
template <typename T>
9494
T Now()

test/lint/spelling.ignore-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ inout
1212
invokable
1313
lief
1414
mor
15+
nd
1516
nin
1617
ser
1718
setban

0 commit comments

Comments
 (0)