From 997a65c789c0d9ef24fc581dbdc1ee72cc4936ba Mon Sep 17 00:00:00 2001 From: Norio Nomura Date: Mon, 30 Jan 2017 16:06:15 +0900 Subject: [PATCH] =?UTF-8?q?Rename=20`serialize=5Fall(nodes:=E2=80=A6)`=20t?= =?UTF-8?q?o=20`serialize(nodes:=E2=80=A6)`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/Yams/Emitter.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Yams/Emitter.swift b/Sources/Yams/Emitter.swift index af6fe31..5f7af44 100644 --- a/Sources/Yams/Emitter.swift +++ b/Sources/Yams/Emitter.swift @@ -11,7 +11,7 @@ #endif import Foundation -public func serialize_all( +public func serialize( nodes: S, canonical: Bool = false, indent: Int = 0, @@ -51,7 +51,7 @@ public func serialize( explicitStart: Bool = false, explicitEnd: Bool = false, version: (major: Int, minor: Int)? = nil) throws -> String { - return try serialize_all( + return try serialize( nodes: [node], canonical: canonical, indent: indent,