Correct doc comments re: HTML tags

This commit is contained in:
Luke Parker
2023-03-07 05:34:29 -05:00
parent 11114dcb74
commit 1e201562df
4 changed files with 5 additions and 5 deletions

View File

@@ -99,7 +99,7 @@ impl<C: Ciphersuite> SchnorrAggregate<C> {
writer.write_all(self.s.to_repr().as_ref())
}
/// Serialize a SchnorrAggregate, returning a Vec<u8>.
/// Serialize a SchnorrAggregate, returning a `Vec<u8>`.
pub fn serialize(&self) -> Vec<u8> {
let mut buf = vec![];
self.write(&mut buf).unwrap();

View File

@@ -46,7 +46,7 @@ impl<C: Ciphersuite> SchnorrSignature<C> {
writer.write_all(self.s.to_repr().as_ref())
}
/// Serialize a SchnorrSignature, returning a Vec<u8>.
/// Serialize a SchnorrSignature, returning a `Vec<u8>`.
pub fn serialize(&self) -> Vec<u8> {
let mut buf = vec![];
self.write(&mut buf).unwrap();