japaric / steed

[INACTIVE] Rust's standard library, free of C dependencies, for Linux systems
519 stars 22 forks source link

Fix 'cannot mutably borrow immutable field' copmpile error #120

Closed anatol closed 7 years ago

anatol commented 7 years ago

--> src/collections/hash/table.rs:976:17 | 976 | (**self.table).size -= 1; | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot mutably borrow immutable field

Partially cherry-picks a8f4a1bd984091ffb8f87f9440e2483f94b44a20 from rust project.

anatol commented 7 years ago

Currently steed code contains a number of other warnings. It may be even better to sync all src/* files to the latest versions from the Rust codebase.

japaric commented 7 years ago

Thank you, @anatol.

Currently steed code contains a number of other warnings.

I see only two warnings, which doesn't seem that bad.

@homunkulus r+

homunkulus commented 7 years ago

:pushpin: Commit 306a4a8 has been approved by japaric

homunkulus commented 7 years ago

:hourglass: Testing commit 306a4a8 with merge 306a4a8...

homunkulus commented 7 years ago

:sunny: Test successful - status-travis Approved by: japaric Pushing 306a4a82e239f51763dd858c048f57be691d4b50 to master...