Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
parity-scale-codec
Commits
d7ece0cd
Unverified
Commit
d7ece0cd
authored
Apr 15, 2019
by
Bastian Köcher
Committed by
GitHub
Apr 15, 2019
Browse files
Removes accidentally added `Decode` bound for `EncodeAppend::Item` (#73)
parent
7c06d4d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/codec.rs
View file @
d7ece0cd
...
...
@@ -241,7 +241,7 @@ pub trait Encode {
/// decoding all previous added items.
pub
trait
EncodeAppend
{
/// The item that will be appended.
type
Item
:
Encode
+
Decode
;
type
Item
:
Encode
;
/// Append `to_append` items to the given `self_encoded` representation.
fn
append
(
self_encoded
:
Vec
<
u8
>
,
to_append
:
&
[
Self
::
Item
])
->
Result
<
Vec
<
u8
>
,
Error
>
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment