Rename `serialize_all(nodes:…)` to `serialize(nodes:…)`

This commit is contained in:
Norio Nomura 2017-01-30 16:06:15 +09:00
parent 12d35614eb
commit 997a65c789
No known key found for this signature in database
GPG Key ID: D4A7318EB7F7138D
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
#endif
import Foundation
public func serialize_all<S>(
public func serialize<S>(
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,