@@ -17,13 +17,13 @@ const CHACHA20_CIPHER_NAME: &'static str = "ChaCha20Poly1305";
1717
1818impl  StorableBuilder  { 
1919
20- 	/// Creates a [`Storable`] that can be serialized and stored as `value` in [PutObjectRequest]. 
20+ 	/// Creates a [`Storable`] that can be serialized and stored as `value` in [` PutObjectRequest` ]. 
2121 	/// 
2222 	/// Uses ChaCha20 for encrypting the `input` and Poly1305 for generating mac/tag. 
2323 	/// 
2424 	/// Refer to docs on [`Storable`] for more information. 
2525 	/// 
26-  	/// [PutObjectRequest]: crate::types::PutObjectRequest 
26+  	/// [` PutObjectRequest` ]: crate::types::PutObjectRequest 
2727 	pub  fn  build ( & self ,  input :  Vec < u8 > ,  version :  i64 )  -> Storable  { 
2828		let  mut  rng = ThreadRng :: default ( ) ; 
2929		let  mut  nonce = [ 0u8 ;  12 ] ; 
@@ -44,10 +44,10 @@ impl StorableBuilder {
4444		} 
4545	} 
4646
47- 	/// Deconstructs the provided [`Storable`] and returns constituent decrypted data and it's  
48-  	/// corresponding version as stored at the time of [PutObjectRequest]. 
47+ 	/// Deconstructs the provided [`Storable`] and returns constituent decrypted data and its  
48+  	/// corresponding version as stored at the time of [` PutObjectRequest` ]. 
4949 	/// 
50-  	/// [PutObjectRequest]: crate::types::PutObjectRequest 
50+  	/// [` PutObjectRequest` ]: crate::types::PutObjectRequest 
5151 	pub  fn  deconstruct ( & self ,  mut  storable :  Storable )  -> io:: Result < ( Vec < u8 > ,  i64 ) >  { 
5252		let  encryption_metadata = storable. encryption_metadata . unwrap ( ) ; 
5353		let  mut  cipher = ChaCha20Poly1305 :: new ( & self . data_encryption_key ,  & encryption_metadata. nonce ,  & [ ] ) ; 
0 commit comments