Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
rust-rocksdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangzongwu
rust-rocksdb
Commits
48c27759
Commit
48c27759
authored
Dec 15, 2014
by
Tyler Neely
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo
parent
f9d32974
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
README.md
README.md
+1
-1
No files found.
README.md
View file @
48c27759
...
@@ -18,7 +18,7 @@ fn main() {
...
@@ -18,7 +18,7 @@ fn main() {
db
.put
(
b
"my key"
,
b
"my value"
);
db
.put
(
b
"my key"
,
b
"my value"
);
db
.get
(
b
"my key"
)
db
.get
(
b
"my key"
)
.map
(
|
value
|
{
.map
(
|
value
|
{
println!
(
"retrieved value {}"
,
value
.to_utf8
()
.unwrap
())
,
println!
(
"retrieved value {}"
,
value
.to_utf8
()
.unwrap
())
})
})
.on_absent
(
||
{
println!
(
"value not found"
)
})
.on_absent
(
||
{
println!
(
"value not found"
)
})
.on_error
(
|
e
|
{
println!
(
"operational problem encountered: {}"
,
e
)
});
.on_error
(
|
e
|
{
println!
(
"operational problem encountered: {}"
,
e
)
});
...
...
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