Skip to content

Fixes example snippets in CString.swift #31407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 29, 2020

Conversation

valeriyvan
Copy link
Contributor

Fixes example snippets in CString.swift

@@ -123,7 +123,7 @@ extension String {
/// repairingInvalidCodeUnits: true)
/// print(s)
/// }
/// // Prints "Optional((Caf�, true))"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This example appears to print

Optional((result: "Caf�", repairsMade: true))

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@CodaFi
Copy link
Contributor

CodaFi commented Apr 29, 2020

@swift-ci smoke test

@CodaFi
Copy link
Contributor

CodaFi commented Apr 29, 2020

@CodaFi CodaFi merged commit d30661d into swiftlang:master Apr 29, 2020
@valeriyvan valeriyvan deleted the FixSnippetsCString branch May 4, 2020 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants