Skip to content
This repository was archived by the owner on Jun 8, 2020. It is now read-only.

Clean up surface methods - #293

Merged
bors-servo merged 1 commit into
masterfrom
data
Sep 16, 2018
Merged

bors-servo merged 1 commit into
masterfrom
data

Conversation

@nox

@nox nox commented Sep 16, 2018 •

Copy link
Copy Markdown
Contributor

We move SourceSurfaceMethods items to inherent methods on the couple of surface
types and we make DataSourceSurface::with_data into DataSourceSurface::data,
which is unsafe and returns a slice.


This change is Reviewable

We move SourceSurfaceMethods items to inherent methods on the couple of surface
types and we make DataSourceSurface::with_data into DataSourceSurface::data,
which is unsafe and returns a slice.
@nox

nox commented Sep 16, 2018

Copy link
Copy Markdown
Contributor Author

r? @jdm

@jdm

jdm commented Sep 16, 2018

Copy link
Copy Markdown
Member

@bors-servo r+

@bors-servo

Copy link
Copy Markdown

📌 Commit 33892c3 has been approved by jdm

@bors-servo

Copy link
Copy Markdown

⌛ Testing commit 33892c3 with merge 1536ca6...

bors-servo pushed a commit that referenced this pull request Sep 16, 2018
Clean up surface methods

We move SourceSurfaceMethods items to inherent methods on the couple of surface
types and we make DataSourceSurface::with_data into DataSourceSurface::data,
which is unsafe and returns a slice.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-azure/293)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown

☀️ Test successful - status-travis
Approved by: jdm
Pushing 1536ca6 to master...

@bors-servo
bors-servo merged commit 33892c3 into master Sep 16, 2018
nox added a commit to servo/servo that referenced this pull request Sep 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants