Skip to content

Commit e1737a7

Browse files
committed
Fix rust 1.89.0 warnings
1 parent ee3efdc commit e1737a7

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/graph.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ impl GitGraph {
187187
self.repository
188188
}
189189

190-
pub fn commit(&self, id: Oid) -> Result<Commit, Error> {
190+
pub fn commit(&self, id: Oid) -> Result<Commit<'_>, Error> {
191191
self.repository.find_commit(id)
192192
}
193193
}

‎src/print/unicode.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ graph-lines, text-lines, start-row
5454
*/
5555
pub type UnicodeGraphInfo = (Vec<String>, Vec<String>, Vec<usize>);
5656

57-
5857
/// Creates a text-based visual representation of a graph.
5958
pub fn print_unicode(graph: &GitGraph, settings: &Settings) -> Result<UnicodeGraphInfo, String> {
6059
if graph.all_branches.is_empty() {

0 commit comments

Comments
 (0)