Skip to content

Commit e5ad505

Browse files
Merge remote-tracking branch 'upstream/master'
2 parents e72eaf3 + 3229c5d commit e5ad505

File tree

6 files changed

+38
-46
lines changed

6 files changed

+38
-46
lines changed

Cargo.lock

Lines changed: 31 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ build = "build.rs"
1818
anyhow = "1.0"
1919
asyncgit = { path = "./asyncgit", version = "0.26", default-features = false }
2020
backtrace = "0.3"
21-
bitflags = "2.5"
21+
bitflags = "2.6"
2222
bugreport = "0.5"
2323
bwrap = { version = "1.3", features = ["use_std"] }
2424
bytesize = { version = "1.3", default-features = false }

asyncgit/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ crossbeam-channel = "0.5"
1717
dirs = "5.0"
1818
easy-cast = "0.5"
1919
fuzzy-matcher = "0.3"
20-
git2 = "0.18"
20+
git2 = "0.19"
2121
git2-hooks = { path = "../git2-hooks", version = "0.3" }
2222
log = "0.4"
2323
# git2 = { path = "../../extern/git2-rs", features = ["vendored-openssl"]}

filetreelist/src/filetree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use crate::{
22
error::Result, filetreeitems::FileTreeItems,
33
tree_iter::TreeIterator, TreeItemInfo,
44
};
5-
use std::{collections::BTreeSet, path::Path, usize};
5+
use std::{collections::BTreeSet, path::Path};
66

77
///
88
#[derive(Copy, Clone, Debug)]

filetreelist/src/filetreeitems.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ use crate::{error::Result, treeitems_iter::TreeItemsIterator};
77
use std::{
88
collections::{BTreeSet, HashMap},
99
path::{Path, PathBuf},
10-
usize,
1110
};
1211

1312
///

src/ui/reflow.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ impl<'a, 'b> WordWrapper<'a, 'b> {
2727
symbols: &'b mut dyn Iterator<Item = StyledGrapheme<'a>>,
2828
max_line_width: u16,
2929
trim: bool,
30-
) -> WordWrapper<'a, 'b> {
31-
WordWrapper {
30+
) -> Self {
31+
Self {
3232
symbols,
3333
max_line_width,
3434
current_line: vec![],
@@ -152,8 +152,8 @@ impl<'a, 'b> LineTruncator<'a, 'b> {
152152
pub fn new(
153153
symbols: &'b mut dyn Iterator<Item = StyledGrapheme<'a>>,
154154
max_line_width: u16,
155-
) -> LineTruncator<'a, 'b> {
156-
LineTruncator {
155+
) -> Self {
156+
Self {
157157
symbols,
158158
max_line_width,
159159
horizontal_offset: 0,

0 commit comments

Comments
 (0)