Skip to content

Commit 0cdbc5e

Browse files
authored
Merge pull request #179 from hayatroid/docs/fix-typo
Fix typo `Retruns` to `Returns`
2 parents d1b6b07 + a88ede1 commit 0cdbc5e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/modint.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ impl<M: Modulus> StaticModInt<M> {
141141
}
142142
}
143143

144-
/// Retruns the representative.
144+
/// Returns the representative.
145145
///
146146
/// Corresponds to `atcoder::static_modint::val` in the original ACL.
147147
#[inline]
@@ -157,7 +157,7 @@ impl<M: Modulus> StaticModInt<M> {
157157
<Self as ModIntBase>::pow(self, n)
158158
}
159159

160-
/// Retruns the multiplicative inverse of `self`.
160+
/// Returns the multiplicative inverse of `self`.
161161
///
162162
/// Corresponds to `atcoder::static_modint::inv` in the original ACL.
163163
///
@@ -389,7 +389,7 @@ impl<I: Id> DynamicModInt<I> {
389389
}
390390
}
391391

392-
/// Retruns the representative.
392+
/// Returns the representative.
393393
///
394394
/// Corresponds to `atcoder::static_modint::val` in the original ACL.
395395
#[inline]
@@ -405,7 +405,7 @@ impl<I: Id> DynamicModInt<I> {
405405
<Self as ModIntBase>::pow(self, n)
406406
}
407407

408-
/// Retruns the multiplicative inverse of `self`.
408+
/// Returns the multiplicative inverse of `self`.
409409
///
410410
/// Corresponds to `atcoder::dynamic_modint::inv` in the original ACL.
411411
///
@@ -601,7 +601,7 @@ pub trait ModIntBase:
601601
/// ```
602602
fn raw(val: u32) -> Self;
603603

604-
/// Retruns the representative.
604+
/// Returns the representative.
605605
///
606606
/// Corresponds to `atcoder::static_modint::val` and `atcoder::dynamic_modint::val` in the original ACL.
607607
///
@@ -616,7 +616,7 @@ pub trait ModIntBase:
616616
/// ```
617617
fn val(self) -> u32;
618618

619-
/// Retruns the multiplicative inverse of `self`.
619+
/// Returns the multiplicative inverse of `self`.
620620
///
621621
/// Corresponds to `atcoder::static_modint::inv` and `atcoder::dynamic_modint::inv` in the original ACL.
622622
///

0 commit comments

Comments
 (0)