about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorWithout Boats <woboats@gmail.com>2020-03-24 15:39:29 +0100
committerWithout Boats <woboats@gmail.com>2020-03-24 15:39:29 +0100
commit03c64bf532ceec915f74460daf5344bb8ccf23d3 (patch)
tree620ca9a0e058d813e60f2170dae59ef7b442a127 /src/libstd
parent3cc4ef93260adc89eca3799d93757ff1a4c7b43f (diff)
downloadrust-03c64bf532ceec915f74460daf5344bb8ccf23d3.tar.gz
rust-03c64bf532ceec915f74460daf5344bb8ccf23d3.zip
spaces between braces really ruin readability
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs
index 1022123347e..88d556229e4 100644
--- a/src/libstd/io/mod.rs
+++ b/src/libstd/io/mod.rs
@@ -952,10 +952,10 @@ pub trait Read {
 pub struct IoSliceMut<'a>(sys::io::IoSliceMut<'a>);
 
 #[stable(feature = "iovec-send-sync", since = "1.44.0")]
-unsafe impl<'a> Send for IoSliceMut<'a> { }
+unsafe impl<'a> Send for IoSliceMut<'a> {}
 
 #[stable(feature = "iovec-send-sync", since = "1.44.0")]
-unsafe impl<'a> Sync for IoSliceMut<'a> { }
+unsafe impl<'a> Sync for IoSliceMut<'a> {}
 
 #[stable(feature = "iovec", since = "1.36.0")]
 impl<'a> fmt::Debug for IoSliceMut<'a> {
@@ -1061,10 +1061,10 @@ impl<'a> DerefMut for IoSliceMut<'a> {
 pub struct IoSlice<'a>(sys::io::IoSlice<'a>);
 
 #[stable(feature = "iovec-send-sync", since = "1.44.0")]
-unsafe impl<'a> Send for IoSlice<'a> { }
+unsafe impl<'a> Send for IoSlice<'a> {}
 
 #[stable(feature = "iovec-send-sync", since = "1.44.0")]
-unsafe impl<'a> Sync for IoSlice<'a> { }
+unsafe impl<'a> Sync for IoSlice<'a> {}
 
 #[stable(feature = "iovec", since = "1.36.0")]
 impl<'a> fmt::Debug for IoSlice<'a> {