From a88ede15642c008b66c6b36768c33cf2b1c0c6a7 Mon Sep 17 00:00:00 2001 From: hayatroid Date: Sat, 6 Dec 2025 01:47:00 +0000 Subject: [PATCH] docs: fix typo 'Retruns' to 'Returns' --- src/modint.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/modint.rs b/src/modint.rs index bdca791..bd18714 100644 --- a/src/modint.rs +++ b/src/modint.rs @@ -141,7 +141,7 @@ impl StaticModInt { } } - /// Retruns the representative. + /// Returns the representative. /// /// Corresponds to `atcoder::static_modint::val` in the original ACL. #[inline] @@ -157,7 +157,7 @@ impl StaticModInt { ::pow(self, n) } - /// Retruns the multiplicative inverse of `self`. + /// Returns the multiplicative inverse of `self`. /// /// Corresponds to `atcoder::static_modint::inv` in the original ACL. /// @@ -389,7 +389,7 @@ impl DynamicModInt { } } - /// Retruns the representative. + /// Returns the representative. /// /// Corresponds to `atcoder::static_modint::val` in the original ACL. #[inline] @@ -405,7 +405,7 @@ impl DynamicModInt { ::pow(self, n) } - /// Retruns the multiplicative inverse of `self`. + /// Returns the multiplicative inverse of `self`. /// /// Corresponds to `atcoder::dynamic_modint::inv` in the original ACL. /// @@ -601,7 +601,7 @@ pub trait ModIntBase: /// ``` fn raw(val: u32) -> Self; - /// Retruns the representative. + /// Returns the representative. /// /// Corresponds to `atcoder::static_modint::val` and `atcoder::dynamic_modint::val` in the original ACL. /// @@ -616,7 +616,7 @@ pub trait ModIntBase: /// ``` fn val(self) -> u32; - /// Retruns the multiplicative inverse of `self`. + /// Returns the multiplicative inverse of `self`. /// /// Corresponds to `atcoder::static_modint::inv` and `atcoder::dynamic_modint::inv` in the original ACL. ///