Skip to content

Commit 35a54e7

Browse files
Shortened readme
1 parent 88c02d6 commit 35a54e7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Here is an example of how to define a trait that works on tuples of any size whe
100100
use tuplities::prelude::*;
101101
use core::fmt::Display;
102102

103-
// 1. Define the trait for flat & nested tuples
103+
// 1. Define flat & nested traits
104104
trait PrintTuple {
105105
fn print_tuple(&self);
106106
}
@@ -121,7 +121,7 @@ impl<Head: Display> PrintNested for (Head,) {
121121
// 3. Implement for the recursive case
122122
impl<Head, Tail> PrintNested for (Head, Tail)
123123
where
124-
Head: Display, // Current element constraint
124+
Head: Display, // Current constraint
125125
Tail: PrintNested, // Recursive constraint
126126
{
127127
fn print_nested(&self) {
@@ -130,7 +130,7 @@ where
130130
}
131131
}
132132

133-
// 4. Blanket implementation for any nestable tuple
133+
// 4. Blanket implementation for nestable tuples
134134
// whose nested form implements PrintNested
135135
impl<T> PrintTuple for T
136136
where

0 commit comments

Comments
 (0)