Skip to content

Commit

Permalink
Fix compilation errors
Browse files Browse the repository at this point in the history
Signed-off-by: Jiahao XU <[email protected]>
  • Loading branch information
NobodyXu committed May 27, 2024
1 parent 202f3e4 commit 0b5dc74
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ein.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![deny(rust_2018_idioms, unsafe_code)]

fn main() -> anyhow::Result<()> {
crate::porcelain::main()
gitoxide::porcelain::main()
}

#[cfg(not(feature = "pretty-cli"))]
Expand Down
2 changes: 1 addition & 1 deletion src/gix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#[cfg(feature = "pretty-cli")]
fn main() -> anyhow::Result<()> {
crate::plumbing::main()
gitoxide::plumbing::main()
}

#[cfg(not(feature = "pretty-cli"))]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#![cfg_attr(all(doc, feature = "document-features"), feature(doc_cfg, doc_auto_cfg))]
#![deny(rust_2018_idioms)]
#![allow(missing_docs)]
#![forbid(unsafe_code)]
#![deny(unsafe_code)]

pub mod plumbing;
pub mod porcelain;
Expand Down

0 comments on commit 0b5dc74

Please sign in to comment.