about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStephane Raux <stephaneyfx@gmail.com>2019-12-10 00:00:25 -0800
committerstephaneyfx <stephaneyfx@gmail.com>2019-12-10 00:05:37 -0800
commit1a26df77272d3bafc9e9e689a5a4a314896050f5 (patch)
treef3e9ba2e4ff003666f51fb3c2ebc3978838ae5f4
parentfe6ddd5d15c4f0108c32fb731b688f34fbeba788 (diff)
downloadrust-1a26df77272d3bafc9e9e689a5a4a314896050f5.tar.gz
rust-1a26df77272d3bafc9e9e689a5a4a314896050f5.zip
Remove trailing whitespace
-rw-r--r--src/liballoc/boxed.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs
index 2f24086bf2c..c3732b245f4 100644
--- a/src/liballoc/boxed.rs
+++ b/src/liballoc/boxed.rs
@@ -73,14 +73,14 @@
 //!
 //! ```c
 //! /* C header */
-//! 
+//!
 //! /* Returns ownership to the caller */
 //! struct Foo* foo_new(void);
-//! 
+//!
 //! /* Takes ownership from the caller; no-op when invoked with NULL */
 //! void foo_delete(struct Foo*);
 //! ```
-//! 
+//!
 //! These two functions might be implemented in Rust as follows. Here, the
 //! `struct Foo*` type from C is translated to `Box<Foo>`, which captures
 //! the ownership constraints. Note also that the nullable argument to
@@ -99,7 +99,7 @@
 //! #[no_mangle]
 //! pub extern "C" fn foo_delete(_: Option<Box<Foo>>) {}
 //! ```
-//! 
+//!
 //! Even though `Box<T>` has the same representation and C ABI as a C pointer,
 //! this does not mean that you can convert an arbitrary `T*` into a `Box<T>`
 //! and expect things to work. `Box<T>` values will always be fully aligned,