Skip to content

Commit e792dd9

Browse files
author
mendelsshop
committed
cargo formatted: clippied last commit
1 parent c85e991 commit e792dd9

File tree

1 file changed

+2
-1
lines changed
  • git-function-history-lib/src/languages

1 file changed

+2
-1
lines changed

git-function-history-lib/src/languages/rust.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,8 @@ fn get_doc_comments_and_attrs<T: HasDocComments>(block: &T) -> (Vec<String>, Vec
447447
}
448448

449449
fn get_ret_type(fns: &Fn) -> Option<String> {
450-
fns.ret_type().and_then(|ret| ret.ty().map(|ty| ty.to_string()))
450+
fns.ret_type()
451+
.and_then(|ret| ret.ty().map(|ty| ty.to_string()))
451452
}
452453
#[derive(Debug, Clone, PartialEq, Eq)]
453454
pub enum RustFilter {

0 commit comments

Comments
 (0)