about summary refs log tree commit diff
diff options
context:
space:
mode:
authorXavientois <joshua.rampersad@hotmail.com>2021-01-15 17:41:42 -0500
committerXavientois <joshua.rampersad@hotmail.com>2021-01-31 08:31:34 -0500
commit11c49f6a2a6cc7aa5b0223c4d2ec59fb4fc9b739 (patch)
tree723dc5a48ebffa6254f910d974619abb3d43fdd0
parentfa76db3104c11416f125be7fcc27d2435dcb84c5 (diff)
downloadrust-11c49f6a2a6cc7aa5b0223c4d2ec59fb4fc9b739.tar.gz
rust-11c49f6a2a6cc7aa5b0223c4d2ec59fb4fc9b739.zip
Add missing generic
-rw-r--r--library/std/src/io/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/io/mod.rs b/library/std/src/io/mod.rs
index c98f8e383ed..ae019723394 100644
--- a/library/std/src/io/mod.rs
+++ b/library/std/src/io/mod.rs
@@ -2493,7 +2493,7 @@ trait SizeHint {
 }
 
 #[stable(feature = "bufreader_size_hint", since = "1.51.0")]
-impl SizeHint for T {
+impl<T> SizeHint for T {
     fn lower_bound(&self) -> usize {
         0
     }