diff --git a/extensions/scarb-doc/src/docs_generation/markdown/traits.rs b/extensions/scarb-doc/src/docs_generation/markdown/traits.rs index 9c814d385..ab84f3f13 100644 --- a/extensions/scarb-doc/src/docs_generation/markdown/traits.rs +++ b/extensions/scarb-doc/src/docs_generation/markdown/traits.rs @@ -214,7 +214,7 @@ fn generate_markdown_from_item_data(doc_item: &impl DocItem, header_level: usize if let Some(sig) = &doc_item.signature() { if !sig.is_empty() { - // TODO(#1457) add cairo support to mdbook + // TODO(#1525) add cairo support to mdbook writeln!(&mut markdown, "```rust\n{sig}\n```\n").unwrap(); } } diff --git a/extensions/scarb-doc/src/types.rs b/extensions/scarb-doc/src/types.rs index 71676d5f1..a7d74fd7e 100644 --- a/extensions/scarb-doc/src/types.rs +++ b/extensions/scarb-doc/src/types.rs @@ -1,6 +1,3 @@ -// TODO(drknzz): Remove when not needed. -#![allow(dead_code)] - use cairo_lang_semantic::items::visibility; use cairo_lang_utils::Upcast; use itertools::Itertools;