aboutsummaryrefslogtreecommitdiff
path: root/lockchain-http
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2018-09-15 20:34:14 +0100
committerKatharina Fey <kookie@spacekookie.de>2018-09-15 20:34:14 +0100
commit87cb39050d938e01b7b26633dab3d141737330ed (patch)
tree0b31f4c8ab0da54f32c959664c46427dc9d9174d /lockchain-http
parent306c1e56b0dc457b59c47693c62fcab668398020 (diff)
A lot of refactoring in lockchain-files
Diffstat (limited to 'lockchain-http')
-rw-r--r--lockchain-http/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/lockchain-http/src/lib.rs b/lockchain-http/src/lib.rs
index 961ad21..005bdb6 100644
--- a/lockchain-http/src/lib.rs
+++ b/lockchain-http/src/lib.rs
@@ -50,12 +50,12 @@ pub type HttpApi<V> = server::HttpServer<App<Arc<Mutex<V>>>>;
/// ```norun
/// use lockchain_core::{traits::*, EncryptedBody};
/// use lockchain_http::create_server;
-/// use lockchain_files::DataVault;
+/// use lockchain_files::FileVault;
///
/// let server = create_server(
/// "localhost",
/// "8080",
-/// DataVault::<EncryptedBody>::new("name", "some-location"),
+/// FileVault::<EncryptedBody>::new("name", "some-location"),
/// ).run();
/// ```
pub fn create_server<B, V>(