Skip to content

Commit d504324

Browse files
authored
Merge pull request #1515 from OSamuelAlmeida/master
Fixed extra indentation at line 43 in Phantom Testcase example.
2 parents d47b44b + 89b9caf commit d504324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generics/phantom/testcase_units.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ struct Length<Unit>(f64, PhantomData<Unit>);
4040
4141
/// The `Add` trait defines the behavior of the `+` operator.
4242
impl<Unit> Add for Length<Unit> {
43-
type Output = Length<Unit>;
43+
type Output = Length<Unit>;
4444
4545
// add() returns a new `Length` struct containing the sum.
4646
fn add(self, rhs: Length<Unit>) -> Length<Unit> {

0 commit comments

Comments
 (0)