about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-04-17 23:21:19 -0400
committerGitHub <noreply@github.com>2017-04-17 23:21:19 -0400
commit8f65bb450fd4ffaeb02882448ef029b5b5892f70 (patch)
tree4373295eed9ef74410d06d1d6134def9bb553676 /src
parent24e8158213338326740b4efed4dc23dd4c2480c4 (diff)
parent1528cbefdb2c0c9fff37174d337c63617d6cb9fd (diff)
downloadrust-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.natvis8
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&lt;*&gt;">
-    <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&lt;*&gt;">
     <DisplayString>{{ size={tail &lt;= head ? head - tail : buf.cap - tail + head} }}</DisplayString>
     <Expand>