Skip to content

Commit

Permalink
chore(all): enable all warnings in doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeul-zama committed Sep 11, 2024
1 parent 4f4d0bd commit 9f221f3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tfhe/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
//!
//! TFHE-rs is a fully homomorphic encryption (FHE) library that implements Zama's variant of TFHE.
// Enable all warnings in doctests
// https://doc.rust-lang.org/rustdoc/write-documentation/documentation-tests.html#showing-warnings-in-doctests
#![doc(test(attr(warn(unused))))]
#![doc(test(attr(allow(unused_variables))))]
#![doc(test(attr(allow(unused_imports))))]
// Enable pedantic lints
#![warn(clippy::pedantic)]
// The following lints have been temporarily allowed
Expand Down

0 comments on commit 9f221f3

Please sign in to comment.