docs: Fix some comments to improve readability (#7122)

Signed-off-by: box4wangjing <box4wangjing@outlook.com>
Co-authored-by: Mayukha Vadari <mvadari@ripple.com>
This commit is contained in:
box4wangjing
2026-05-21 04:46:45 +09:00
committed by GitHub
parent 9cb049276d
commit a5d238e7d4
5 changed files with 6 additions and 6 deletions

View File

@@ -1505,7 +1505,7 @@ roundToScale(STAmount const& value, std::int32_t scale, Number::RoundingMode rou
STAmount const referenceValue{value.asset(), STAmount::kMinValue, scale, value.negative()};
NumberRoundModeGuard const mg(rounding);
// With an IOU, the the result of addition will be truncated to the
// With an IOU, the result of addition will be truncated to the
// precision of the larger value, which in this case is referenceValue. Then
// remove the reference value via subtraction, and we're left with the
// rounded value.

View File

@@ -515,7 +515,7 @@ class NFTokenBurn_test : public beast::unit_test::Suite
{
// Removing the last token from the last page deletes the
// _previous_ page because we need to preserve that last
// page an an anchor. The contents of the next-to-last page
// page as an anchor. The contents of the next-to-last page
// are moved into the last page.
lastNFTokenPage = env.le(keylet::nftpageMax(alice));
BEAST_EXPECT(lastNFTokenPage);
@@ -694,7 +694,7 @@ class NFTokenBurn_test : public beast::unit_test::Suite
{
// Removing the last token from the last page deletes the
// _previous_ page because we need to preserve that last
// page an an anchor. The contents of the next-to-last page
// page as an anchor. The contents of the next-to-last page
// are moved into the last page.
lastNFTokenPage = env.le(keylet::nftpageMax(alice));
BEAST_EXPECT(lastNFTokenPage);