remove unneeded var
This commit is contained in:
parent
cffd91bd5d
commit
0c393bc860
1 changed files with 1 additions and 2 deletions
|
@ -11,8 +11,7 @@ impl SocialRepo {
|
|||
Repository::open(path)
|
||||
.map(|repo| Self { repo })
|
||||
.map_err(|_| {
|
||||
let err = "fatal: not a git repository";
|
||||
SocialError::from(err)
|
||||
SocialError::from("fatal: not a git repository")
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue