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

feat(sdk): room_list_service::Room::new is now infallible #3586

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

Hywan
Copy link
Member

@Hywan Hywan commented Jun 19, 2024

This patch makes Room::new infallible, i.e. it no longer returns a Result<Self, _> but Self directly.


This patch makes `Room::new` infallible, i.e. it no longer returns a
`Result<Self, _>` but `Self` directly.
@Hywan Hywan requested a review from a team as a code owner June 19, 2024 15:15
@Hywan Hywan requested review from poljar and bnjbvr and removed request for a team and poljar June 19, 2024 15:15
Copy link

codecov bot commented Jun 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.85%. Comparing base (0cd93a2) to head (96f4a1f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3586      +/-   ##
==========================================
+ Coverage   83.82%   83.85%   +0.02%     
==========================================
  Files         254      254              
  Lines       26066    26062       -4     
==========================================
+ Hits        21851    21854       +3     
+ Misses       4215     4208       -7     

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

Copy link
Member

@bnjbvr bnjbvr left a comment

Choose a reason for hiding this comment

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

Sure.

@Hywan Hywan merged commit 6701fd0 into matrix-org:main Jun 20, 2024
38 checks passed
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