Skip to content

Commit 39fc165

Browse files
committed
fix(signed-doc): remove unused doc type
Signed-off-by: bkioshn <[email protected]>
1 parent c31e75d commit 39fc165

File tree

1 file changed

+0
-18
lines changed
  • rust/signed_doc/src/doc_types

1 file changed

+0
-18
lines changed

rust/signed_doc/src/doc_types/mod.rs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,6 @@ pub static PROPOSAL_ACTION_DOC: LazyLock<DocType> = LazyLock::new(|| {
4141
.expect("Failed to convert proposal action document Uuid to DocType")
4242
});
4343

44-
/// Proposal template document type.
45-
#[allow(clippy::expect_used)]
46-
pub static PROPOSAL_TEMPLATE: LazyLock<DocType> = LazyLock::new(|| {
47-
let ids = &[TEMPLATE_UUID_TYPE, PROPOSAL_UUID_TYPE];
48-
ids.to_vec()
49-
.try_into()
50-
.expect("Failed to convert proposal template Uuid to DocType")
51-
});
52-
53-
/// Proposal comment template document type.
54-
#[allow(clippy::expect_used)]
55-
pub static PROPOSAL_COMMENT_TEMPLATE: LazyLock<DocType> = LazyLock::new(|| {
56-
let ids = &[TEMPLATE_UUID_TYPE, COMMENT_UUID_TYPE, PROPOSAL_UUID_TYPE];
57-
ids.to_vec()
58-
.try_into()
59-
.expect("Failed to convert proposal comment template Uuid to DocType")
60-
});
61-
6244
/// Submission Action UUID type.
6345
pub const SUBMISSION_ACTION_UUID_TYPE: Uuid =
6446
Uuid::from_u128(0x7892_7329_CFD9_4EA1_9C71_0E01_9B12_6A65);

0 commit comments

Comments
 (0)