about summary refs log tree commit diff
path: root/src/librustc
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2019-06-16 12:41:24 +0300
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2019-06-18 18:10:26 +0300
commitea78c3aa33c09f987c4ad0d87b9a39a0d065d67c (patch)
tree09d4c7285c9dcade08d278eb3d46bb8d3c8df9e1 /src/librustc
parent4c4fc7512eff62f5cc63a1a30f4474db003884c9 (diff)
Run `rustfmt --file-lines ...` for changes from previous commits.
Diffstat (limited to 'src/librustc')
-rw-r--r--src/librustc/ty/query/on_disk_cache.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/librustc/ty/query/on_disk_cache.rs b/src/librustc/ty/query/on_disk_cache.rs
index 5349b7dbda5..982886f0f15 100644
--- a/src/librustc/ty/query/on_disk_cache.rs
+++ b/src/librustc/ty/query/on_disk_cache.rs
@@ -505,12 +505,11 @@ impl<'a, 'tcx> DecoderWithPosition for CacheDecoder<'a, 'tcx> {
 
 // Decode something that was encoded with encode_tagged() and verify that the
 // tag matches and the correct amount of bytes was read.
-fn decode_tagged<D, T, V>(decoder: &mut D,
-                                    expected_tag: T)
-                                    -> Result<V, D::Error>
-    where T: Decodable + Eq + ::std::fmt::Debug,
-          V: Decodable,
-          D: DecoderWithPosition,
+fn decode_tagged<D, T, V>(decoder: &mut D, expected_tag: T) -> Result<V, D::Error>
+where
+    T: Decodable + Eq + ::std::fmt::Debug,
+    V: Decodable,
+    D: DecoderWithPosition,
 {
     let start_pos = decoder.position();