diff options
author | David Tolnay <dtolnay@gmail.com> | 2021-01-02 12:28:02 -0800 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2021-01-02 12:28:02 -0800 |
commit | 2ae80499c114c08167d230521c81d870b32e9aec (patch) | |
tree | b0b22a18cbf2595bcd9e390a0ef186c6642c5b48 | |
parent | d835ac6cadf7cf1cee76f2e108248e083e4236ea (diff) | |
download | cxx-2ae80499c114c08167d230521c81d870b32e9aec.tar.gz |
Clean up trailing whitespaces
-rw-r--r-- | book/diagram/overview.svg | 2 | ||||
-rw-r--r-- | book/src/binding/sharedptr.md | 2 | ||||
-rw-r--r-- | book/src/binding/vec.md | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/book/diagram/overview.svg b/book/diagram/overview.svg index c5516875..e5154668 100644 --- a/book/diagram/overview.svg +++ b/book/diagram/overview.svg @@ -68,7 +68,7 @@ marker-start: url(#big_open_circle); } - + </style> <defs> <marker id="arrow" viewBox="-2 -2 8 8" refX="4" refY="2" markerWidth="7" markerHeight="7" orient="auto-start-reverse"> diff --git a/book/src/binding/sharedptr.md b/book/src/binding/sharedptr.md index 8f494aef..a3b70700 100644 --- a/book/src/binding/sharedptr.md +++ b/book/src/binding/sharedptr.md @@ -37,7 +37,7 @@ fn main() { { // Create a second shared_ptr holding shared ownership of the same // object. There is still only one Object but two SharedPtr<Object>. - // Both pointers point to the same object on the heap. + // Both pointers point to the same object on the heap. let ptr2 = ptr1.clone(); assert!(ptr::eq(ptr1.deref(), ptr2.deref())); diff --git a/book/src/binding/vec.md b/book/src/binding/vec.md index 4c9c939c..39c1da19 100644 --- a/book/src/binding/vec.md +++ b/book/src/binding/vec.md @@ -31,7 +31,7 @@ public: const T *data() const noexcept; T *data() noexcept; size_t capacity() const noexcept; - + const T &operator[](size_t n) const noexcept; const T &at(size_t n) const; const T &front() const; |