Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
ink
Commits
8ef18626
Commit
8ef18626
authored
Jan 23, 2019
by
Hero Bird
Browse files
[pdsl_core] Remove RawChunkCell::load (unused for now)
parent
82f0f714
Changes
1
Hide whitespace changes
Inline
Side-by-side
pdsl_core/src/storage/chunk/raw_chunk.rs
View file @
8ef18626
...
...
@@ -64,11 +64,6 @@ impl RawChunkCell<'_> {
}
}
/// Load the bytes from the cell if not empty.
pub
fn
load
(
&
self
)
->
Option
<
Vec
<
u8
>>
{
unsafe
{
ContractEnv
::
load
(
self
.key
)
}
}
/// Store the bytes into the cell.
pub
fn
store
(
&
mut
self
,
bytes
:
&
[
u8
])
{
unsafe
{
ContractEnv
::
store
(
self
.key
,
bytes
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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