File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ pub enum Layout<F: Form = MetaForm> {
7979 Array ( ArrayLayout < F > ) ,
8080 /// A struct layout with fields of different types.
8181 Struct ( StructLayout < F > ) ,
82- /// An enum layout with a discriminant telling which variant is layed out.
82+ /// An enum layout with a discriminant telling which variant is laid out.
8383 Enum ( EnumLayout < F > ) ,
8484}
8585
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ mod tests {
199199 }
200200
201201 #[ test]
202- fn saturatiung_sub ( ) {
202+ fn saturating_sub ( ) {
203203 assert_eq ! ( u64 :: MIN , Saturating :: saturating_sub( u64 :: MIN , 1 ) )
204204 }
205205
Original file line number Diff line number Diff line change 1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- /// Calls a macro upto 12 times with an increasing number of identifiers for each call.
15+ /// Calls a macro up to 12 times with an increasing number of identifiers for each call.
1616///
1717/// # Note
1818///
You can’t perform that action at this time.
0 commit comments