Skip to content

Commit 747a7ef

Browse files
committed
bump
1 parent fe4239a commit 747a7ef

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/raw/iter.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,7 @@ impl<'a> TryInto<Bson> for RawElement<'a> {
145145
}
146146

147147
impl<'a> RawElement<'a> {
148-
pub fn is_empty(&self) -> bool {
149-
self.len() == 0
150-
}
151-
152-
pub fn len(&self) -> usize {
148+
pub fn size(&self) -> usize {
153149
self.size
154150
}
155151

0 commit comments

Comments
 (0)