Skip to content
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

[NFC] Silence String.character access warning #19

Merged
merged 1 commit into from Nov 26, 2017

Conversation

CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Nov 3, 2017

Use of String.character is now unnecessary as String is a sliceable collection all its own in Swift 4. This patch removes accesses to the characters collection and, in doing so, silences the warnings for its usage that appear in Xcode 9.1.

Use of String.character is now unnecessary as String is a sliceable
collection all its own in Swift 4.
@codecov-io
Copy link

Codecov Report

Merging #19 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #19   +/-   ##
=======================================
  Coverage   91.98%   91.98%           
=======================================
  Files          13       13           
  Lines         549      549           
=======================================
  Hits          505      505           
  Misses         44       44
Impacted Files Coverage Δ
Sources/ModesExtractor.swift 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a0097ea...39cb857. Read the comment docs.

@regexident
Copy link
Contributor

Any chance for a merge of this, @onevcat?

@onevcat onevcat merged commit a89c584 into onevcat:master Nov 26, 2017
@onevcat
Copy link
Owner

onevcat commented Nov 26, 2017

Merged and released as 3.0.1.

@regexident
Copy link
Contributor

Thanks a bunch, @onevcat!

@CodaFi CodaFi deleted the xcodes-not-yellow-its-chicken branch November 26, 2017 20:38
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.

None yet

4 participants