Skip to content
Snippets Groups Projects
Unverified Commit d5a9b77a authored by Isis Lovecruft's avatar Isis Lovecruft
Browse files

rust: Add comment and pragma on "unused" smartlist_t type.

 * FIXES part of #26245: https://bugs.torproject.org/26245
parent 468bf58f
Branches
No related tags found
No related merge requests found
......@@ -117,6 +117,9 @@ struct common_digests_t {
/// A `smartlist_t` is just an alias for the `#[repr(C)]` type `Stringlist`, to
/// make it more clear that we're working with a smartlist which is owned by C.
#[allow(non_camel_case_types)]
// BINDGEN_GENERATED: This type isn't actually bindgen generated, but the code
// below it which uses it is. As such, this comes up as "dead code" as well.
#[allow(dead_code)]
type smartlist_t = Stringlist;
/// All of the external functions from `src/common/crypto_digest.h`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment