This website works better with JavaScript.
Home
Explore
Help
Sign In
titouan
/
solstice
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Use BootstrapDecode instead of Buf as trait bound.
wip
Titouan Rigoudy
7 years ago
parent
0118354478
commit
2e64e5a9ff
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/proto/base_codec.rs
+ 1
- 1
src/proto/base_codec.rs
View File
@ -146,7 +146,7 @@ where
impl
<
T
,
U
>
Decode
<
Vec
<
U
>
>
for
T
where
T
:
B
uf
+
Decode
<
U
>
,
T
:
B
ootstrapDecode
+
Decode
<
U
>
,
{
fn
decode
(
&
mut
self
)
->
io
::
Result
<
Vec
<
U
>
>
{
let
len
=
self
.
decode_u32_generic
(
"vector length"
)
?
as
usize
;
Write
Preview
Loading…
Cancel
Save