diff --git a/git/src/internal/object/tag.rs b/git/src/internal/object/tag.rs index 7131c51d..c28cb113 100644 --- a/git/src/internal/object/tag.rs +++ b/git/src/internal/object/tag.rs @@ -23,8 +23,8 @@ //! and then move the tag to a different commit, the tag will still point to the original commit. //! //! The lightweight just a text file with the commit hash in it, and the file name is the tag name. -//! If one of -a, -s, or -u is passed, the command creates a tag object, and requires a tag -//! message. Unless -m or -F is given, an editor is started for the user to type in the +//! If one of -a, -s, or -u \ is passed, the command creates a tag object, and requires a tag +//! message. Unless -m \ or -F \ is given, an editor is started for the user to type in the //! tag message. //! //! ```bash diff --git a/git/src/internal/object/tree.rs b/git/src/internal/object/tree.rs index 3c1d5290..31649bda 100644 --- a/git/src/internal/object/tree.rs +++ b/git/src/internal/object/tree.rs @@ -180,12 +180,7 @@ impl TreeItem { /// ```bash /// \0 /// ``` - /// - /// # Example - /// ```rust - // let bytes = Vec::::new().to_bytes(); - // let tree_item = TreeItem::new_from_bytes(bytes.as_slice()).unwrap(); - /// ``` + /// #[allow(unused)] pub fn new_from_bytes(bytes: &[u8]) -> Result { let mut parts = bytes.splitn(2, |b| *b == b' '); diff --git a/src/main.rs b/src/main.rs index 8ed8e2bf..2e362d47 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,5 @@ -//! +//! Mega is an engine for managing a monorepo. It functions similarly to Google's Piper and helps to streamline Git +//! and trunk-based development for large-scale projects. //! //! //! @@ -13,6 +14,7 @@ fn main() { env::set_var("RUST_LOG", "debug"); tracing_subscriber::fmt::init(); dotenvy::dotenv().ok(); + // Parse the command line arguments let result = cli::parse();