Skip to content

Commit 8d63344

Browse files
committed
remove database method get_existsing and change cargo version to 0.2.0
1 parent 096d215 commit 8d63344

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

couchbase-lite/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "couchbase-lite"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
authors = ["Evgeniy A. Dushistov <dushistov@mail.ru>"]
55
edition = "2018"
66

couchbase-lite/src/lib.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -192,15 +192,7 @@ impl Database {
192192
pub fn document_count(&self) -> u64 {
193193
unsafe { c4db_getDocumentCount(self.inner.0.as_ptr()) }
194194
}
195-
/// Return existing document from database
196-
#[deprecated(
197-
since = "0.1.0",
198-
note = "Please use get_existing (note the removed 's' after the 't')."
199-
)]
200-
pub fn get_existsing(&self, doc_id: &str) -> Result<Document> {
201-
self.internal_get(doc_id, true)
202-
.map(|x| Document::new_internal(x, doc_id))
203-
}
195+
204196
/// Return existing document from database
205197
pub fn get_existing(&self, doc_id: &str) -> Result<Document> {
206198
self.internal_get(doc_id, true)

0 commit comments

Comments
 (0)