Skip to content

Commit 0f13ecc

Browse files
author
Stephan Dilly
committed
inline
1 parent cb3b968 commit 0f13ecc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

asyncgit/src/sync/commits_info.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ pub fn get_message(
101101
}
102102
}
103103

104+
#[inline]
104105
fn limit_str(s: &str, limit: usize) -> &str {
105106
if let Some(first) = s.lines().next() {
106107
let mut limit = limit.min(first.len());

0 commit comments

Comments
 (0)