remove unnecessary into_iter in doctests

This commit is contained in:
tigregalis 2023-06-27 21:59:58 +08:00
parent 0d9173c05b
commit 48f6aefb80

View file

@ -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,
/// );
/// ```