diff options
author | qkzk <qu3nt1n@gmail.com> | 2023-10-07 22:35:57 +0200 |
---|---|---|
committer | qkzk <qu3nt1n@gmail.com> | 2023-10-07 22:35:57 +0200 |
commit | 345d46967b8c14383406233200e221098ee939f7 (patch) | |
tree | f272564bd6cbc9a27e941c0defbec41a51b7d240 /src/git.rs | |
parent | 3c58467c42e114452195ee2f2e567201a00fd23f (diff) |
move external import after std import
Diffstat (limited to 'src/git.rs')
-rw-r--r-- | src/git.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,11 +4,12 @@ // Copied from https://github.com/9ary/gitprompt-rs/blob/master/src/main.rs // Couldn't use without forking and I'm lazy. -use anyhow::{anyhow, Context, Result}; use std::fmt::Write as _; use std::path::Path; use std::process; +use anyhow::{anyhow, Context, Result}; + struct GitStatus { branch: Option<String>, ahead: i64, |