We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0dd9ef commit 597814aCopy full SHA for 597814a
src/onefetch/repo.rs
@@ -39,7 +39,7 @@ impl Repo {
39
let mut most_recent: i64 = 0;
40
41
self.repo.tag_foreach(|id, name| {
42
- if let Ok(name) = String::from_utf8(name[10..name.len()].into()) {
+ if let Ok(name) = String::from_utf8(name[10..].into()) {
43
let mut current_time: i64 = 0;
44
if let Ok(tag) = self.repo.find_tag(id) {
45
if let Ok(c) = self.repo.find_commit(tag.target_id()) {
0 commit comments