Skip to content

Commit

Permalink
style: remove unnecessary error let binding
Browse files Browse the repository at this point in the history
  • Loading branch information
benpueschel committed Sep 21, 2024
1 parent b99934a commit 8bd4e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ impl Octocrab {
let app_auth = if let AuthState::App(ref app_auth) = self.auth_state {
app_auth.clone()
} else {
let source = return Err(Error::Installation {
return Err(Error::Installation {
backtrace: Backtrace::generate(),
source: error::InstallationError::new(
"Github App authorization is required to target an installation",
Expand Down

0 comments on commit 8bd4e3b

Please sign in to comment.