Skip to content

Commit b0a7da8

Browse files
committed
Format
1 parent 0d12e46 commit b0a7da8

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

source/vstd/view.rs

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -161,22 +161,14 @@ impl<
161161
}
162162

163163
#[cfg(all(feature = "alloc", not(verus_keep_ghost), not(feature = "allocator")))]
164-
impl<Key, Value, S> View for std::collections::HashMap<
165-
Key,
166-
Value,
167-
S,
168-
> {
164+
impl<Key, Value, S> View for std::collections::HashMap<Key, Value, S> {
169165
type V = Map<Key, Value>;
170166

171167
uninterp spec fn view(&self) -> Map<Key, Value>;
172168
}
173169

174170
#[cfg(all(feature = "alloc", not(verus_keep_ghost), not(feature = "allocator")))]
175-
impl<
176-
Key: DeepView,
177-
Value: DeepView,
178-
S,
179-
> DeepView for std::collections::HashMap<Key, Value, S> {
171+
impl<Key: DeepView, Value: DeepView, S> DeepView for std::collections::HashMap<Key, Value, S> {
180172
type V = Map<Key::V, Value::V>;
181173

182174
open spec fn deep_view(&self) -> Map<Key::V, Value::V> {
@@ -212,10 +204,7 @@ impl<Key, S> View for std::collections::HashSet<Key, S> {
212204
}
213205

214206
#[cfg(all(feature = "alloc", not(verus_keep_ghost), not(feature = "allocator")))]
215-
impl<Key: DeepView, S> DeepView for std::collections::HashSet<
216-
Key,
217-
S,
218-
> {
207+
impl<Key: DeepView, S> DeepView for std::collections::HashSet<Key, S> {
219208
type V = Set<Key::V>;
220209

221210
open spec fn deep_view(&self) -> Set<Key::V> {

0 commit comments

Comments
 (0)