Skip to content

Commit

Permalink
Remove allow(dead_code) from scarb-doc (#1574)
Browse files Browse the repository at this point in the history
- **Remove `allow(dead_code)` from scarb-doc**
- **Update todo comment**
  • Loading branch information
maciektr authored Sep 5, 2024
1 parent 0f2bfdf commit 7d7b535
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down
3 changes: 0 additions & 3 deletions extensions/scarb-doc/src/types.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 7d7b535

Please sign in to comment.