-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
503: Add alternate hint ('#') r=derekdreery a=derekdreery Also make formatting match `core::fmt`. This changes the current behavior, so some thought should be given before accepting. I expect it will break some tests: I'm not sure how to run them all locally so I will rely on CI to find them. Closes #491 Co-authored-by: Richard Dodd <richard.o.dodd@gmail.com>
- Loading branch information
Showing
10 changed files
with
249 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,56 @@ | ||
0.000000 INFO no hint 42 | ||
0.000001 INFO hex 0x2a | ||
0.000002 INFO HEX 0x2A | ||
0.000003 INFO binary 0b101010 | ||
0.000004 INFO ASCII 42 | ||
0.000005 INFO Debug 42 | ||
0.000006 INFO ---- | ||
0.000007 INFO no-hint 42 | ||
0.000008 INFO hex 0x2a | ||
0.000009 INFO HEX 0x2A | ||
0.000010 INFO binary 0b101010 | ||
0.000011 INFO ASCII 42 | ||
0.000012 INFO Debug 42 | ||
0.000013 INFO ---- | ||
0.000014 INFO no hint 42 | ||
0.000015 INFO hex 0x2a | ||
0.000016 INFO HEX 0x2A | ||
0.000017 INFO binary 0b101010 | ||
0.000018 INFO ASCII 42 | ||
0.000019 INFO Debug 42 | ||
0.000020 INFO ---- | ||
0.000021 INFO S1 > S2 0b101010 | ||
0.000022 INFO ---- | ||
0.000023 INFO no hint [72, 101, 127, 108, 108, 111] | ||
0.000024 INFO hex [0x48, 0x65, 0x7f, 0x6c, 0x6c, 0x6f] | ||
0.000025 INFO HEX [0x48, 0x65, 0x7F, 0x6C, 0x6C, 0x6F] | ||
0.000026 INFO binary [0b1001000, 0b1100101, 0b1111111, 0b1101100, 0b1101100, 0b1101111] | ||
0.000027 INFO ASCII b"He\x7fllo" | ||
0.000028 INFO Debug [72, 101, 127, 108, 108, 111] | ||
0.000001 INFO hex 2a | ||
0.000002 INFO hex alt 0x2a | ||
0.000003 INFO HEX 2A | ||
0.000004 INFO HEX alt 0x2A | ||
0.000005 INFO binary 101010 | ||
0.000006 INFO binary alt 0b101010 | ||
0.000007 INFO ASCII 42 | ||
0.000008 INFO Debug 42 | ||
0.000009 INFO ---- | ||
0.000010 INFO no-hint 42 | ||
0.000011 INFO hex 2a | ||
0.000012 INFO hex alt 0x2a | ||
0.000013 INFO HEX 2A | ||
0.000014 INFO HEX alt 0x2A | ||
0.000015 INFO binary 101010 | ||
0.000016 INFO binary alt 0b101010 | ||
0.000017 INFO ASCII 42 | ||
0.000018 INFO Debug 42 | ||
0.000019 INFO ---- | ||
0.000020 INFO no hint 42 | ||
0.000021 INFO hex 2a | ||
0.000022 INFO hex alt 0x2a | ||
0.000023 INFO HEX 2A | ||
0.000024 INFO HEX alt 0x2A | ||
0.000025 INFO binary 101010 | ||
0.000026 INFO binary alt 0b101010 | ||
0.000027 INFO ASCII 42 | ||
0.000028 INFO Debug 42 | ||
0.000029 INFO ---- | ||
0.000030 INFO b"\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff" | ||
0.000031 INFO b"\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff" | ||
0.000032 INFO ---- | ||
0.000033 INFO no hint Hello | ||
0.000034 INFO Debug "Hello" | ||
0.000035 INFO no hint world | ||
0.000036 INFO Debug "world" | ||
0.000037 INFO ---- | ||
0.000038 INFO no hint 10 | ||
0.000039 INFO hex 0xa | ||
0.000040 INFO HEX 0xA | ||
0.000041 INFO binary 0b1010 | ||
0.000042 INFO ASCII b"\n" | ||
0.000043 INFO Debug 10 | ||
0.000030 INFO S1 > S2 101010 | ||
0.000031 INFO ---- | ||
0.000032 INFO no hint [72, 101, 127, 108, 108, 111] | ||
0.000033 INFO hex [48, 65, 7f, 6c, 6c, 6f] | ||
0.000034 INFO hex alt [0x48, 0x65, 0x7f, 0x6c, 0x6c, 0x6f] | ||
0.000035 INFO HEX [48, 65, 7F, 6C, 6C, 6F] | ||
0.000036 INFO HEX alt [0x48, 0x65, 0x7F, 0x6C, 0x6C, 0x6F] | ||
0.000037 INFO binary [1001000, 1100101, 1111111, 1101100, 1101100, 1101111] | ||
0.000038 INFO binary alt [0b1001000, 0b1100101, 0b1111111, 0b1101100, 0b1101100, 0b1101111] | ||
0.000039 INFO ASCII b"He\x7fllo" | ||
0.000040 INFO Debug [72, 101, 127, 108, 108, 111] | ||
0.000041 INFO ---- | ||
0.000042 INFO b"\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\x80\x81\x82\x83\x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e0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff" | ||
0.000044 INFO ---- | ||
0.000045 INFO no hint Hello | ||
0.000046 INFO Debug "Hello" | ||
0.000047 INFO no hint world | ||
0.000048 INFO Debug "world" | ||
0.000049 INFO ---- | ||
0.000050 INFO no hint 10 | ||
0.000051 INFO hex a | ||
0.000052 INFO HEX A | ||
0.000053 INFO binary 1010 | ||
0.000054 INFO ASCII b"\n" | ||
0.000055 INFO Debug 10 |
Oops, something went wrong.