Closed
Bug 1640985
Opened 6 years ago
Closed 6 years ago
rust 1.45 must-use error about mem::replace in calc.rs
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla78
| Tracking | Status | |
|---|---|---|
| firefox78 | --- | fixed |
People
(Reporter: away, Assigned: emilio)
References
Details
Attachments
(1 file)
1:34.65 --> servo\components\style\values\generics\calc.rs:340:17
1:34.65 |
1:34.65 340 | mem::replace(self, result);
1:34.65 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1:34.65 ...
1:34.65 386 | return replace_self_with!(&mut **max);
1:34.65 | ------------------------------ in this macro invocation
1:34.65 |
1:34.65 = note: if you don't need the old value, you can just assign the new value directly
| Assignee | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Updated•6 years ago
|
Attachment #9151815 -
Attachment description: Bug 1640985 - Remove useless mem::replace call. r=#style → Bug 1640985 - Remove two useless mem::replace calls. r=#style
Comment 2•6 years ago
|
||
Marking this as normal severity, as it looks like it's already handled.
Severity: -- → S3
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6cc8ef8beb30
Remove two useless mem::replace calls. r=boris
Comment 4•6 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox78:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in
before you can comment on or make changes to this bug.
Description
•