diff options
| author | Xavientois <joshua.rampersad@hotmail.com> | 2021-01-15 17:41:42 -0500 |
|---|---|---|
| committer | Xavientois <joshua.rampersad@hotmail.com> | 2021-01-31 08:31:34 -0500 |
| commit | 11c49f6a2a6cc7aa5b0223c4d2ec59fb4fc9b739 (patch) | |
| tree | 723dc5a48ebffa6254f910d974619abb3d43fdd0 | |
| parent | fa76db3104c11416f125be7fcc27d2435dcb84c5 (diff) | |
| download | rust-11c49f6a2a6cc7aa5b0223c4d2ec59fb4fc9b739.tar.gz rust-11c49f6a2a6cc7aa5b0223c4d2ec59fb4fc9b739.zip | |
Add missing generic
| -rw-r--r-- | library/std/src/io/mod.rs | 2 |
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 } |
