diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-04-17 23:21:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-17 23:21:19 -0400 |
| commit | 8f65bb450fd4ffaeb02882448ef029b5b5892f70 (patch) | |
| tree | 4373295eed9ef74410d06d1d6134def9bb553676 /src | |
| parent | 24e8158213338326740b4efed4dc23dd4c2480c4 (diff) | |
| parent | 1528cbefdb2c0c9fff37174d337c63617d6cb9fd (diff) | |
| download | rust-8f65bb450fd4ffaeb02882448ef029b5b5892f70.tar.gz rust-8f65bb450fd4ffaeb02882448ef029b5b5892f70.zip | |
Rollup merge of #41344 - Diggsey:remove-natvis-nbsp, r=alexcrichton
Remove non-breaking spaces from natvis files Visual studio will see natvis files with non-breaking spaces as invalid XML, and will ignore them.
Diffstat (limited to 'src')
| -rw-r--r-- | src/etc/natvis/libcollections.natvis | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/etc/natvis/libcollections.natvis b/src/etc/natvis/libcollections.natvis index 821c52361f8..e7e93be9869 100644 --- a/src/etc/natvis/libcollections.natvis +++ b/src/etc/natvis/libcollections.natvis @@ -1,16 +1,16 @@ <?xml version="1.0" encoding="utf-8"?> <AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> <Type Name="collections::vec::Vec<*>"> - <DisplayString>{{ size={len} }}</DisplayString> - <Expand> + <DisplayString>{{ size={len} }}</DisplayString> + <Expand> <Item Name="[size]" ExcludeView="simple">len</Item> <Item Name="[capacity]" ExcludeView="simple">buf.cap</Item> <ArrayItems> <Size>len</Size> <ValuePointer>buf.ptr.pointer.__0</ValuePointer> </ArrayItems> - </Expand> - </Type> + </Expand> + </Type> <Type Name="collections::vec_deque::VecDeque<*>"> <DisplayString>{{ size={tail <= head ? head - tail : buf.cap - tail + head} }}</DisplayString> <Expand> |
