Respond to review feedback
This commit is contained in:
parent
85002741a2
commit
d1852e1054
@ -48,6 +48,7 @@
|
||||
<Item Name="[len]" ExcludeView="simple">vec.len</Item>
|
||||
<Item Name="[capacity]" ExcludeView="simple">vec.buf.cap</Item>
|
||||
<Synthetic Name="[chars]">
|
||||
<DisplayString>{(char*)vec.buf.ptr.pointer,[vec.len]s8}</DisplayString>
|
||||
<Expand>
|
||||
<ArrayItems>
|
||||
<Size>vec.len</Size>
|
||||
|
@ -156,8 +156,8 @@
|
||||
<Type Name="core::time::Duration">
|
||||
<DisplayString>{secs,d}s {nanos,d}ns</DisplayString>
|
||||
<Expand>
|
||||
<Item Name="seconds">secs</Item>
|
||||
<Item Name="nanoseconds">nanos</Item>
|
||||
<Item Name="seconds">secs,d</Item>
|
||||
<Item Name="nanoseconds">nanos,d</Item>
|
||||
</Expand>
|
||||
</Type>
|
||||
</AutoVisualizer>
|
||||
|
@ -77,6 +77,7 @@
|
||||
<DisplayString>{(char*)inner.data_ptr}</DisplayString>
|
||||
<Expand>
|
||||
<Synthetic Name="[chars]">
|
||||
<DisplayString>{(char*)inner.data_ptr}</DisplayString>
|
||||
<Expand>
|
||||
<ArrayItems>
|
||||
<Size>inner.length</Size>
|
||||
@ -106,6 +107,7 @@
|
||||
<DisplayString>{(char*)inner.inner.bytes.buf.ptr.pointer,[inner.inner.bytes.len]}</DisplayString>
|
||||
<Expand>
|
||||
<Synthetic Name="[chars]">
|
||||
<DisplayString>{(char*)inner.inner.bytes.buf.ptr.pointer,[inner.inner.bytes.len]}</DisplayString>
|
||||
<Expand>
|
||||
<ArrayItems>
|
||||
<Size>inner.inner.bytes.len</Size>
|
||||
|
@ -8,8 +8,8 @@
|
||||
// cdb-command: dx duration
|
||||
// cdb-check:duration : 5s 12ns [Type: core::time::Duration]
|
||||
// cdb-check: [<Raw View>] [Type: core::time::Duration]
|
||||
// cdb-check: seconds : 0x5 [Type: unsigned __int64]
|
||||
// cdb-check: nanoseconds : 0xc [Type: unsigned int]
|
||||
// cdb-check: seconds : 5 [Type: unsigned __int64]
|
||||
// cdb-check: nanoseconds : 12 [Type: unsigned int]
|
||||
|
||||
use std::time::Duration;
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
// cdb-command: dx nonnull
|
||||
// cdb-check:nonnull : NonNull(0x[...]: 0xc) [Type: core::ptr::non_null::NonNull<u32>]
|
||||
// cdb-check: [<Raw View>] [Type: core::ptr::non_null::NonNull<u32>]
|
||||
// cdb-checK: 0xc [Type: unsigned int]
|
||||
// cdb-check: 0xc [Type: unsigned int]
|
||||
|
||||
// cdb-command: dx manuallydrop
|
||||
// cdb-check:manuallydrop : 12345 [Type: core::mem::manually_drop::ManuallyDrop<i32>]
|
||||
@ -19,7 +19,7 @@
|
||||
// cdb-check: [<Raw View>] [Type: core::pin::Pin<ref_mut$<alloc::string::String> >]
|
||||
// cdb-check: [len] : 0x4 [Type: unsigned __int64]
|
||||
// cdb-check: [capacity] : 0x4 [Type: unsigned __int64]
|
||||
// cdb-check: [chars]
|
||||
// cdb-check: [chars] : "this"
|
||||
|
||||
use std::mem::ManuallyDrop;
|
||||
use std::pin::Pin;
|
||||
|
@ -113,7 +113,7 @@
|
||||
// cdb-command: dx os_string
|
||||
// cdb-check:os_string : "IAMA OS string 😃" [Type: std::ffi::os_str::OsString]
|
||||
// cdb-check: [<Raw View>] [Type: std::ffi::os_str::OsString]
|
||||
// cdb-check: [chars]
|
||||
// cdb-check: [chars] : "IAMA OS string 😃"
|
||||
|
||||
// cdb-command: dx some
|
||||
// cdb-check:some : Some [Type: enum$<core::option::Option<i16> >]
|
||||
|
Loading…
x
Reference in New Issue
Block a user