deps: upgrade bstr to 1.1
This commit is contained in:
@@ -14,7 +14,7 @@ license = "Unlicense OR MIT"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
bstr = { version = "0.2.0", default-features = false, features = ["std"] }
|
||||
bstr = { version = "1.1.0", default-features = false, features = ["std"] }
|
||||
bytecount = "0.6"
|
||||
encoding_rs = "0.8.14"
|
||||
encoding_rs_io = "0.1.6"
|
||||
|
||||
@@ -481,7 +481,7 @@ impl LineBuffer {
|
||||
}
|
||||
|
||||
let roll_len = self.end - self.pos;
|
||||
self.buf.copy_within_str(self.pos..self.end, 0);
|
||||
self.buf.copy_within(self.pos..self.end, 0);
|
||||
self.pos = 0;
|
||||
self.last_lineterm = roll_len;
|
||||
self.end = roll_len;
|
||||
|
||||
Reference in New Issue
Block a user