Remove unused variables
This commit is contained in:
parent
afa3f6dcd1
commit
b2723fd1dd
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ impl BufferView {
|
||||||
});
|
});
|
||||||
ctx.observe(&display_map, Self::on_display_map_changed);
|
ctx.observe(&display_map, Self::on_display_map_changed);
|
||||||
|
|
||||||
let (selection_set_id, op) = buffer.update(ctx, |buffer, ctx| {
|
let (selection_set_id, _) = buffer.update(ctx, |buffer, ctx| {
|
||||||
buffer.add_selection_set(
|
buffer.add_selection_set(
|
||||||
vec![Selection {
|
vec![Selection {
|
||||||
start: buffer.anchor_before(0).unwrap(),
|
start: buffer.anchor_before(0).unwrap(),
|
||||||
|
@ -745,7 +745,7 @@ impl BufferView {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let op = self.buffer.update(ctx, |buffer, ctx| {
|
self.buffer.update(ctx, |buffer, ctx| {
|
||||||
buffer
|
buffer
|
||||||
.update_selection_set(self.selection_set_id, selections, Some(ctx))
|
.update_selection_set(self.selection_set_id, selections, Some(ctx))
|
||||||
.unwrap()
|
.unwrap()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue