diff options
Diffstat (limited to 'crates/hir_ty/src/tests/traits.rs')
-rw-r--r-- | crates/hir_ty/src/tests/traits.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir_ty/src/tests/traits.rs b/crates/hir_ty/src/tests/traits.rs index 45a1958e3..2ba97f814 100644 --- a/crates/hir_ty/src/tests/traits.rs +++ b/crates/hir_ty/src/tests/traits.rs | |||
@@ -187,8 +187,8 @@ mod iter { | |||
187 | mod collections { | 187 | mod collections { |
188 | struct Vec<T> {} | 188 | struct Vec<T> {} |
189 | impl<T> Vec<T> { | 189 | impl<T> Vec<T> { |
190 | fn new() -> Self { Vec {} } | 190 | pub fn new() -> Self { Vec {} } |
191 | fn push(&mut self, t: T) { } | 191 | pub fn push(&mut self, t: T) { } |
192 | } | 192 | } |
193 | 193 | ||
194 | impl<T> IntoIterator for Vec<T> { | 194 | impl<T> IntoIterator for Vec<T> { |