@@ -434,9 +434,8 @@ pub fn encode_to_fmt_anycase<T: AsRef<[u5]>>(
434
434
///
435
435
/// This method is intended for implementing traits from [`std::fmt`].
436
436
///
437
- /// # Errors
437
+ /// # Deviations from standard.
438
438
///
439
- /// * Deviations from standard.
440
439
/// * No length limits are enforced for the data part.
441
440
pub fn encode_without_checksum_to_fmt < T : AsRef < [ u5 ] > > (
442
441
fmt : & mut dyn fmt:: Write ,
@@ -484,9 +483,8 @@ impl Variant {
484
483
485
484
/// Encodes a bech32 payload to string.
486
485
///
487
- /// # Errors
486
+ /// # Deviations from standard.
488
487
///
489
- /// * Deviations from standard.
490
488
/// * No length limits are enforced for the data part.
491
489
#[ cfg( feature = "alloc" ) ]
492
490
pub fn encode < T : AsRef < [ u5 ] > > ( hrp : Hrp , data : T , variant : Variant ) -> Result < String , Error > {
@@ -497,9 +495,8 @@ pub fn encode<T: AsRef<[u5]>>(hrp: Hrp, data: T, variant: Variant) -> Result<Str
497
495
498
496
/// Encodes a bech32 payload to string without the checksum.
499
497
///
500
- /// # Errors
498
+ /// # Deviations from standard.
501
499
///
502
- /// * Deviations from standard.
503
500
/// * No length limits are enforced for the data part.
504
501
#[ cfg( feature = "alloc" ) ]
505
502
pub fn encode_without_checksum < T : AsRef < [ u5 ] > > ( hrp : Hrp , data : T ) -> Result < String , Error > {
0 commit comments