Skip to content

Conversation

RomanPodymov
Copy link
Contributor

🚀
Hello.
Thank you for SwifterSwift.

Checklist

  • I checked the Contributing Guidelines before creating this request.
  • New extensions are written in Swift 5.6.
  • New extensions support iOS 12.0+ / tvOS 12.0+ / macOS 10.13+ / watchOS 4.0+, or use @available if not.
  • I have added tests for new extensions, and they passed.
  • All extensions have a clear comments explaining their functionality, all parameters and return type in English.
  • All extensions are declared as public.
  • I have added a changelog entry describing my changes.

@RomanPodymov RomanPodymov marked this pull request as draft December 26, 2023 18:05
Copy link

codecov bot commented Dec 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6ab6c10) 95.87% compared to head (9b023bf) 95.89%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1162      +/-   ##
==========================================
+ Coverage   95.87%   95.89%   +0.01%     
==========================================
  Files         107      107              
  Lines        3951     3967      +16     
==========================================
+ Hits         3788     3804      +16     
  Misses        163      163              
Flag Coverage Δ
ios 95.39% <100.00%> (+0.01%) ⬆️
macos 96.54% <100.00%> (+0.02%) ⬆️
tvos 94.23% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SwifterSwiftBot
Copy link

SwifterSwiftBot commented Dec 26, 2023

1 Message
📖 Thank you for submitting a pull request to SwifterSwift. The team will review your submission as soon as possible.

Generated by 🚫 Danger

@RomanPodymov RomanPodymov marked this pull request as ready for review December 27, 2023 18:51
Copy link
Contributor

@guykogus guykogus left a comment

Choose a reason for hiding this comment

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

Beautiful

RomanPodymov and others added 6 commits December 29, 2023 09:33
Co-authored-by: Guy Kogus <guy.kogus@gmail.com>
Co-authored-by: Guy Kogus <guy.kogus@gmail.com>
Co-authored-by: Guy Kogus <guy.kogus@gmail.com>
Co-authored-by: Guy Kogus <guy.kogus@gmail.com>
Co-authored-by: Guy Kogus <guy.kogus@gmail.com>
/// - Parameters:
/// - lhs: The first value to add.
/// - rhs: The second value to add.
static func += (lhs: inout Measurement<UnitType>, rhs: Measurement<UnitType>) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't <UnitType> assumed? If so, remove for all functions.

Suggested change
static func += (lhs: inout Measurement<UnitType>, rhs: Measurement<UnitType>) {
static func += (lhs: inout Measurement, rhs: Measurement) {

@guykogus guykogus merged commit cb12779 into SwifterSwift:master Dec 31, 2023
@RomanPodymov RomanPodymov deleted the feature/measurement branch January 1, 2024 07:54
RomanPodymov added a commit to RomanPodymov/RomanPodymov that referenced this pull request Jan 4, 2024
@guykogus guykogus mentioned this pull request Jan 9, 2024
1 task
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.

3 participants