Fix comments

This commit is contained in:
Sean Bowe 2020-09-29 08:28:00 -06:00
parent c97da352ee
commit 7a3caaad59
No known key found for this signature in database
GPG key ID: 95684257D8F8B031

View file

@ -83,14 +83,14 @@ pub enum Error {
} }
impl<C: CurveAffine> ProvingKey<C> { impl<C: CurveAffine> ProvingKey<C> {
/// Get the underlying `VerifyingKey` /// Get the underlying [`VerifyingKey`].
pub fn get_vk(&self) -> &VerifyingKey<C> { pub fn get_vk(&self) -> &VerifyingKey<C> {
&self.vk &self.vk
} }
} }
impl<C: CurveAffine> VerifyingKey<C> { impl<C: CurveAffine> VerifyingKey<C> {
/// Get the underlying `VerifyingKey` /// Get the underlying [`EvaluationDomain`].
pub fn get_domain(&self) -> &EvaluationDomain<C::Scalar> { pub fn get_domain(&self) -> &EvaluationDomain<C::Scalar> {
&self.domain &self.domain
} }