Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gerald Schoiber
couchbase-rs
Commits
bd106b6d
Commit
bd106b6d
authored
7 years ago
by
Michael Nitschinger
Browse files
Options
Download
Email Patches
Plain Diff
fix example
parent
39bdeda8
master
alpha-working
native
subdoc
working-alpha-clonable
0.3.0
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-1
README.md
couchbase/examples/helloworld.rs
+1
-1
couchbase/examples/helloworld.rs
with
2 additions
and
2 deletions
+2
-2
README.md
View file @
bd106b6d
...
...
@@ -52,7 +52,7 @@ use futures::Future;
/// a document.
fn
main
()
{
// Initialize the Cluster
let
cluster
=
Cluster
::
new
(
"localhost"
)
.expect
(
"Could not initialize Cluster"
);
let
mut
cluster
=
Cluster
::
new
(
"localhost"
)
.expect
(
"Could not initialize Cluster"
);
// If you auth with 5.0 / RBAC, use this:
cluster
.authenticate
(
"Administrator"
,
"password"
);
...
...
This diff is collapsed.
Click to expand it.
couchbase/examples/helloworld.rs
View file @
bd106b6d
...
...
@@ -9,7 +9,7 @@ use futures::Future;
/// a document.
fn
main
()
{
// Initialize the Cluster
let
cluster
=
Cluster
::
new
(
"localhost"
)
.expect
(
"Could not initialize Cluster"
);
let
mut
cluster
=
Cluster
::
new
(
"localhost"
)
.expect
(
"Could not initialize Cluster"
);
// If you auth with 5.0 / RBAC, use this:
cluster
.authenticate
(
"Administrator"
,
"password"
);
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help