remove unnecessary into_iter in doctests
This commit is contained in:
parent
0d9173c05b
commit
48f6aefb80
1 changed files with 2 additions and 4 deletions
|
|
@ -613,8 +613,7 @@ impl Buffer {
|
|||
/// [
|
||||
/// ("hello, ", attrs),
|
||||
/// ("cosmic\ntext", attrs.family(Family::Monospace)),
|
||||
/// ]
|
||||
/// .into_iter(),
|
||||
/// ],
|
||||
/// Shaping::Advanced,
|
||||
/// );
|
||||
/// ```
|
||||
|
|
@ -910,8 +909,7 @@ impl<'a> BorrowedWithFontSystem<'a, Buffer> {
|
|||
/// [
|
||||
/// ("hello, ", attrs),
|
||||
/// ("cosmic\ntext", attrs.family(Family::Monospace)),
|
||||
/// ]
|
||||
/// .into_iter(),
|
||||
/// ],
|
||||
/// Shaping::Advanced,
|
||||
/// );
|
||||
/// ```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue