kkebo / zyphy

Zyphy is (or will be) a fast web browser engine written in Swift.
MIT License
4 stars 1 forks source link

fix: fix compiler warning #104

Closed kkebo closed 4 weeks ago

kkebo commented 1 month ago

I have fixed the following warning.

/home/kebo/zyphy/Sources/Tokenizer/Tokenizer.swift:1:8: warning: public import of 'Str' was not used in public declarations or inlinable code
   1 | public import Str
     |        `- warning: public import of 'Str' was not used in public declarations or inlinable code
   2 | 
   3 | public struct Tokenizer<Sink: ~Copyable & TokenSink>: ~Copyable {
github-actions[bot] commented 1 month ago

Code Metrics Report

main (2046b8e) #104 (64e7a6c) +/-
Coverage 85.2% 85.5% +0.3%
Details ``` diff | | main (2046b8e) | #104 (64e7a6c) | +/- | |-----------|----------------|----------------|-------| + | Coverage | 85.2% | 85.5% | +0.3% | | Files | 9 | 9 | 0 | | Lines | 1587 | 1588 | +1 | + | Covered | 1353 | 1359 | +6 | ```

Code coverage of files in pull request scope (83.0% → 83.3%)

Files Coverage +/-
Sources/Tokenizer/Tokenizer.swift 83.3% +0.3%

Reported by octocov

github-actions[bot] commented 1 month ago

Code Metrics Report

main (be3743b) #104 (c077e50) +/-
Coverage 85.3% 85.3% +0.0%
Details ``` diff | | main (be3743b) | #104 (c077e50) | +/- | |-----------|----------------|----------------|-------| + | Coverage | 85.3% | 85.3% | +0.0% | | Files | 9 | 9 | 0 | | Lines | 1592 | 1586 | -6 | - | Covered | 1358 | 1354 | -4 | ```

Code coverage of files in pull request scope (83.0% → 83.1%)

Files Coverage +/-
Sources/Tokenizer/Tokenizer.swift 83.1% +0.0%

Reported by octocov

github-actions[bot] commented 4 weeks ago

Code Metrics Report

main (9040237) #104 (58b5a82) +/-
Coverage 85.6% 85.5% -0.1%
Details ``` diff | | main (9040237) | #104 (58b5a82) | +/- | |-----------|----------------|----------------|-------| - | Coverage | 85.6% | 85.5% | -0.1% | | Files | 9 | 9 | 0 | | Lines | 1577 | 1581 | +4 | + | Covered | 1350 | 1353 | +3 | ```

Code coverage of files in pull request scope (83.4% → 83.3%)

Files Coverage +/-
Sources/Tokenizer/Tokenizer.swift 83.3% -0.1%

Reported by octocov