aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/format.h
diff options
context:
space:
mode:
authortobo <tobo@yandex-team.ru>2022-02-10 16:47:27 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:27 +0300
commit55a7f90e4cd31e9481cace8ee5dfd682c27e810e (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /util/stream/format.h
parent7fe839092527589b38f014d854c51565b3c1adfa (diff)
downloadydb-55a7f90e4cd31e9481cace8ee5dfd682c27e810e.tar.gz
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/stream/format.h')
-rw-r--r--util/stream/format.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/stream/format.h b/util/stream/format.h
index e3cd64cc57..b033208a1b 100644
--- a/util/stream/format.h
+++ b/util/stream/format.h
@@ -118,9 +118,9 @@ namespace NFormatPrivate {
if (value.Flags & HF_ADDX) {
if (Base == 16) {
- stream << TStringBuf("0x");
+ stream << TStringBuf("0x");
} else if (Base == 2) {
- stream << TStringBuf("0b");
+ stream << TStringBuf("0b");
}
}
@@ -329,7 +329,7 @@ static constexpr ::NFormatPrivate::TBaseNumber<T, 2> SBin(const T& value, const
*
* Example usage:
* @code
- * stream << HexText(TStringBuf("abcи")); // Will output "61 62 63 D0 B8"
+ * stream << HexText(TStringBuf("abcи")); // Will output "61 62 63 D0 B8"
* stream << HexText(TWtringBuf(u"abcи")); // Will output "0061 0062 0063 0438"
* @endcode
*
@@ -348,7 +348,7 @@ static inline ::NFormatPrivate::TBaseText<TChar, 16> HexText(const TBasicStringB
*
* Example usage:
* @code
- * stream << BinText(TStringBuf("aaa")); // Will output "01100001 01100001 01100001"
+ * stream << BinText(TStringBuf("aaa")); // Will output "01100001 01100001 01100001"
* @endcode
*
* @param value String to output.