Skip to content

Commit

Permalink
long lines alignment, inside the .md
Browse files Browse the repository at this point in the history
  • Loading branch information
Emanuel Czirai committed Jan 27, 2018
1 parent ddc96e4 commit 3b8662e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions patterns/builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,10 @@ single method with a given name, having multiple constructors is less nice in
Rust than in C++, Java, or others.

This pattern is often used where the builder object is useful in its own right,
rather than being just a builder. For example, see [`std::process::Command`](https://doc.rust-lang.org/std/process/struct.Command.html) is a
builder for [`Child`](https://doc.rust-lang.org/std/process/struct.Child.html) (a process). In these cases, the `T` and `TBuilder` pattern
rather than being just a builder. For example, see
[`std::process::Command`](https://doc.rust-lang.org/std/process/struct.Command.html)
is a builder for [`Child`](https://doc.rust-lang.org/std/process/struct.Child.html)
(a process). In these cases, the `T` and `TBuilder` pattern
of naming is not used.

The example takes and returns the builder by value. It is often more ergonomic
Expand Down

0 comments on commit 3b8662e

Please sign in to comment.