Skip to content

Collections cleanup#21969

Closed
Gankra wants to merge 3 commits intorust-lang:masterfrom
Gankra:collections-cleanup
Closed

Collections cleanup#21969
Gankra wants to merge 3 commits intorust-lang:masterfrom
Gankra:collections-cleanup

Conversation

@Gankra
Copy link
Copy Markdown
Contributor

@Gankra Gankra commented Feb 5, 2015

This is 99% burning ints to the ground, but I also got rid of useless annotations or made code more "idiomatic" as I went along. Mostly changes in tests.

@rust-highfive
Copy link
Copy Markdown
Contributor

r? @aturon

(rust_highfive has picked a reviewer for you, use r? to override)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think these lifetimes (and the corresponding ones on similar methods) can be elided.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ah yeah, I wasn't checking for that.

@Gankra Gankra force-pushed the collections-cleanup branch from 84ddc78 to 1be0dc0 Compare February 5, 2015 18:29
@Gankra
Copy link
Copy Markdown
Contributor Author

Gankra commented Feb 5, 2015

@apasel422 I did a quick pass to remove a bunch of useless lifetimes.

@Gankra Gankra force-pushed the collections-cleanup branch from acd338e to 22e6a36 Compare February 5, 2015 19:10
@apasel422
Copy link
Copy Markdown
Contributor

@gankro Awesome. Looks good to me!

@alexcrichton
Copy link
Copy Markdown
Member

Nice work @gankro, thanks!

Can you also remove the int_uint feature from libcollections/lib.rs while you're at it? Otherwise r=me

@Gankra
Copy link
Copy Markdown
Contributor Author

Gankra commented Feb 5, 2015

Oh hey, that shows me all the places I missed. Sweet. New commit with all the missed stuff.

@alexcrichton
Copy link
Copy Markdown
Member

@bors: r+ 9e8aaf2

@Gankra Gankra force-pushed the collections-cleanup branch from 9e8aaf2 to 15fb06d Compare February 5, 2015 23:25
@Gankra
Copy link
Copy Markdown
Contributor Author

Gankra commented Feb 5, 2015

@bors r=alexcrichton 15fb06 p=1

(want to fast track since it's merge-conflicty)

@Gankra Gankra force-pushed the collections-cleanup branch from 15fb06d to 21f499c Compare February 6, 2015 01:22
@Gankra
Copy link
Copy Markdown
Contributor Author

Gankra commented Feb 6, 2015

@bors r=alexcrichton 21f49 p=1

@Gankra
Copy link
Copy Markdown
Contributor Author

Gankra commented Feb 6, 2015

@bors p=0

@Manishearth's rollup'll handle this

Manishearth added a commit to Manishearth/rust that referenced this pull request Feb 6, 2015
…richton

 This is 99% burning ints to the ground, but I also got rid of useless annotations or made code more \"idiomatic\" as I went along. Mostly changes in tests.
@pnkfelix
Copy link
Copy Markdown
Contributor

pnkfelix commented Feb 6, 2015

Hmm, I think removing the int_uint feature may be what caused the latest rollup attempt on #21969 to fail, see : http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/3485/steps/test/logs/stdio

cc @Manishearth

@Manishearth
Copy link
Copy Markdown
Member

Wait, I fixed those errors. Hm

@Manishearth
Copy link
Copy Markdown
Member

Ah, I hadn't run doctests

@Gankra
Copy link
Copy Markdown
Contributor Author

Gankra commented Feb 6, 2015

Oh whoops, I killed my tests before doctests ran.

@Gankra Gankra closed this Feb 7, 2015
@Gankra
Copy link
Copy Markdown
Contributor Author

Gankra commented Feb 7, 2015

Merged in rollup with some extra patches

lnicola pushed a commit to lnicola/rust that referenced this pull request Apr 9, 2026
changes to build scripts and config.toml should always refresh
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.

7 participants