gud 0.1.3

Interactive git helper
1
2
3
pub fn truncate(s: &str, max: usize) -> String {
    s.chars().take(max).collect()
}