File tree 6 files changed +10
-7
lines changed
6 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 48
48
<Item Name =" [len]" ExcludeView =" simple" >vec.len</Item >
49
49
<Item Name =" [capacity]" ExcludeView =" simple" >vec.buf.cap</Item >
50
50
<Synthetic Name =" [chars]" >
51
+ <DisplayString >{(char*)vec.buf.ptr.pointer,[vec.len]s8}</DisplayString >
51
52
<Expand >
52
53
<ArrayItems >
53
54
<Size >vec.len</Size >
Original file line number Diff line number Diff line change 156
156
<Type Name =" core::time::Duration" >
157
157
<DisplayString >{secs,d}s {nanos,d}ns</DisplayString >
158
158
<Expand >
159
- <Item Name =" seconds" >secs</Item >
160
- <Item Name =" nanoseconds" >nanos</Item >
159
+ <Item Name =" seconds" >secs,d </Item >
160
+ <Item Name =" nanoseconds" >nanos,d </Item >
161
161
</Expand >
162
162
</Type >
163
163
</AutoVisualizer >
Original file line number Diff line number Diff line change 77
77
<DisplayString >{(char*)inner.data_ptr}</DisplayString >
78
78
<Expand >
79
79
<Synthetic Name =" [chars]" >
80
+ <DisplayString >{(char*)inner.data_ptr}</DisplayString >
80
81
<Expand >
81
82
<ArrayItems >
82
83
<Size >inner.length</Size >
106
107
<DisplayString >{(char*)inner.inner.bytes.buf.ptr.pointer,[inner.inner.bytes.len]}</DisplayString >
107
108
<Expand >
108
109
<Synthetic Name =" [chars]" >
110
+ <DisplayString >{(char*)inner.inner.bytes.buf.ptr.pointer,[inner.inner.bytes.len]}</DisplayString >
109
111
<Expand >
110
112
<ArrayItems >
111
113
<Size >inner.inner.bytes.len</Size >
Original file line number Diff line number Diff line change 8
8
// cdb-command: dx duration
9
9
// cdb-check:duration : 5s 12ns [Type: core::time::Duration]
10
10
// cdb-check: [<Raw View>] [Type: core::time::Duration]
11
- // cdb-check: seconds : 0x5 [Type: unsigned __int64]
12
- // cdb-check: nanoseconds : 0xc [Type: unsigned int]
11
+ // cdb-check: seconds : 5 [Type: unsigned __int64]
12
+ // cdb-check: nanoseconds : 12 [Type: unsigned int]
13
13
14
14
use std:: time:: Duration ;
15
15
Original file line number Diff line number Diff line change 8
8
// cdb-command: dx nonnull
9
9
// cdb-check:nonnull : NonNull(0x[...]: 0xc) [Type: core::ptr::non_null::NonNull<u32>]
10
10
// cdb-check: [<Raw View>] [Type: core::ptr::non_null::NonNull<u32>]
11
- // cdb-checK : 0xc [Type: unsigned int]
11
+ // cdb-check : 0xc [Type: unsigned int]
12
12
13
13
// cdb-command: dx manuallydrop
14
14
// cdb-check:manuallydrop : 12345 [Type: core::mem::manually_drop::ManuallyDrop<i32>]
19
19
// cdb-check: [<Raw View>] [Type: core::pin::Pin<ref_mut$<alloc::string::String> >]
20
20
// cdb-check: [len] : 0x4 [Type: unsigned __int64]
21
21
// cdb-check: [capacity] : 0x4 [Type: unsigned __int64]
22
- // cdb-check: [chars]
22
+ // cdb-check: [chars] : "this"
23
23
24
24
use std:: mem:: ManuallyDrop ;
25
25
use std:: pin:: Pin ;
Original file line number Diff line number Diff line change 113
113
// cdb-command: dx os_string
114
114
// cdb-check:os_string : "IAMA OS string 😃" [Type: std::ffi::os_str::OsString]
115
115
// cdb-check: [<Raw View>] [Type: std::ffi::os_str::OsString]
116
- // cdb-check: [chars]
116
+ // cdb-check: [chars] : "IAMA OS string 😃"
117
117
118
118
// cdb-command: dx some
119
119
// cdb-check:some : Some [Type: enum$<core::option::Option<i16> >]
You can’t perform that action at this time.
0 commit comments