Refuse to compile if documentation is missing.

This commit is contained in:
Isis Lovecruft 2017-03-14 21:39:28 +00:00
parent 85b0cd933c
commit 807d52f655
Failed to extract signature
2 changed files with 2 additions and 0 deletions

View file

@ -28,6 +28,7 @@ use curve25519_dalek::curve::ProjectivePoint;
use curve25519_dalek::scalar::Scalar;
use curve25519_dalek::subtle::arrays_equal_ct;
/// The length of an ed25519 `Signature`, in bytes.
pub const SIGNATURE_LENGTH: usize = 64;
/// An ed25519 signature.

View file

@ -63,6 +63,7 @@
#![feature(rand)]
#![allow(unused_features)]
#![cfg_attr(feature = "bench", feature(test))]
#![deny(missing_docs)] // refuse to compile if documentation is missing
#[macro_use]
extern crate arrayref;