@@ -61,7 +61,7 @@ mod storage {
61
61
fn as_vec_view < LenT : LenType > ( this : & VecInner < T , LenT , Self > ) -> & VecView < T , LenT >
62
62
where
63
63
Self : VecStorage < T > ;
64
- fn as_vec_mut_view < LenT : LenType > (
64
+ fn as_vec_view_mut < LenT : LenType > (
65
65
this : & mut VecInner < T , LenT , Self > ,
66
66
) -> & mut VecView < T , LenT >
67
67
where
@@ -70,7 +70,7 @@ mod storage {
70
70
fn as_binary_heap_view < K > ( this : & BinaryHeapInner < T , K , Self > ) -> & BinaryHeapView < T , K >
71
71
where
72
72
Self : VecStorage < T > ;
73
- fn as_binary_heap_mut_view < K > (
73
+ fn as_binary_heap_view_mut < K > (
74
74
this : & mut BinaryHeapInner < T , K , Self > ,
75
75
) -> & mut BinaryHeapView < T , K >
76
76
where
@@ -79,7 +79,7 @@ mod storage {
79
79
fn as_deque_view ( this : & DequeInner < T , Self > ) -> & DequeView < T >
80
80
where
81
81
Self : VecStorage < T > ;
82
- fn as_deque_mut_view ( this : & mut DequeInner < T , Self > ) -> & mut DequeView < T >
82
+ fn as_deque_view_mut ( this : & mut DequeInner < T , Self > ) -> & mut DequeView < T >
83
83
where
84
84
Self : VecStorage < T > ;
85
85
}
@@ -108,7 +108,7 @@ mod storage {
108
108
{
109
109
this
110
110
}
111
- fn as_vec_mut_view < LenT : LenType > (
111
+ fn as_vec_view_mut < LenT : LenType > (
112
112
this : & mut VecInner < T , LenT , Self > ,
113
113
) -> & mut VecView < T , LenT >
114
114
where
@@ -123,7 +123,7 @@ mod storage {
123
123
{
124
124
this
125
125
}
126
- fn as_binary_heap_mut_view < K > (
126
+ fn as_binary_heap_view_mut < K > (
127
127
this : & mut BinaryHeapInner < T , K , Self > ,
128
128
) -> & mut BinaryHeapView < T , K >
129
129
where
@@ -137,7 +137,7 @@ mod storage {
137
137
{
138
138
this
139
139
}
140
- fn as_deque_mut_view ( this : & mut DequeInner < T , Self > ) -> & mut DequeView < T >
140
+ fn as_deque_view_mut ( this : & mut DequeInner < T , Self > ) -> & mut DequeView < T >
141
141
where
142
142
Self : VecStorage < T > ,
143
143
{
@@ -160,7 +160,7 @@ mod storage {
160
160
{
161
161
this
162
162
}
163
- fn as_vec_mut_view < LenT : LenType > (
163
+ fn as_vec_view_mut < LenT : LenType > (
164
164
this : & mut VecInner < T , LenT , Self > ,
165
165
) -> & mut VecView < T , LenT >
166
166
where
@@ -175,7 +175,7 @@ mod storage {
175
175
{
176
176
this
177
177
}
178
- fn as_binary_heap_mut_view < K > (
178
+ fn as_binary_heap_view_mut < K > (
179
179
this : & mut BinaryHeapInner < T , K , Self > ,
180
180
) -> & mut BinaryHeapView < T , K >
181
181
where
@@ -189,7 +189,7 @@ mod storage {
189
189
{
190
190
this
191
191
}
192
- fn as_deque_mut_view ( this : & mut DequeInner < T , Self > ) -> & mut DequeView < T >
192
+ fn as_deque_view_mut ( this : & mut DequeInner < T , Self > ) -> & mut DequeView < T >
193
193
where
194
194
Self : VecStorage < T > ,
195
195
{
@@ -528,7 +528,7 @@ impl<T, LenT: LenType, S: VecStorage<T> + ?Sized> VecInner<T, LenT, S> {
528
528
/// ```
529
529
#[ inline]
530
530
pub fn as_mut_view ( & mut self ) -> & mut VecView < T , LenT > {
531
- S :: as_vec_mut_view ( self )
531
+ S :: as_vec_view_mut ( self )
532
532
}
533
533
534
534
/// Returns a raw pointer to the vector’s buffer.
0 commit comments