Uh oh!
There was an error while loading. Please reload this page.
Cleanup for std::result - #7969
Conversation
alexcrichton
commented
Jul 23, 2013
It looks like this has also added back in net/ip and net/tcp, would you mind amending to remove those? |
MaikKlein
commented
Jul 23, 2013
Oh that is weird, I thought I deleted them. Thanks for the catch. |
There was a problem hiding this comment.
This should use the method, not the function.
MaikKlein
commented
Jul 23, 2013
what is the best way to delete the changes to net::tcp etc in 3043b71? git checkout 3043b71 , git rm net::tcp , git commit --amend and then back with git checkout master? |
MaikKlein
commented
Jul 23, 2013
I am sorry, I am not that proficient in git yet. I am currently reading the git book. I was trying for hours to edit my commit and remove the tcp /ip changes but it didn't work out. So I just added a additional commit, that removes tcp and ip :( |
erickt
commented
Jul 23, 2013
@MaikKlein: You can use an interactive rebase to clean up the history. Here are some links on how to do it:
Your case is pretty simple though, since you added the files in one commit back from the HEAD branch. You should be able to squash the two with: Feel free to ping me on #rust IRC (erickt) if you need some help with this. If I'm not around, I'm sure someone else in the channel could help you out as well. |
alexcrichton
commented
Jul 24, 2013
Whenever this is no longer a work-in-progress, feel free to comment saying so and I'd be willing to take a look! |
MaikKlein
commented
Jul 24, 2013
Thanks, I am sorry for the mess. Next time when I do a PR I will have a proper knowledge of git. I will finish this PR now. |
MaikKlein
commented
Jul 24, 2013
I think the cleanup work is finished. If the PR is in a too messy state to be processed, then I will redo the PR in a few days. For example 58f934f is completely unecessary the commit somehow got merged with 2edf6d2, and the libextra/net removal is in 9593c14 . I really have to learn some git, I just thought git would be more straight forward. I just removed the functions in std::result.rs. They are all methods now. I updated the examples. I also added a ToEither trait for the to_either method. |
MaikKlein
commented
Jul 25, 2013
everything compiles and all tests pass now |
erickt
commented
Jul 26, 2013
@MaikKlein: Just in case you didn't notice, there were some errors with the merge. |
MaikKlein
commented
Jul 26, 2013
Yes I have noticed it. It seems that I have messed something up. I just have no working station at the moment, I hope that I can fix it tomorrow. |
Good evening, This is a superset of @MaikKlein's #7969 commit, that I've fixed up to compile. I had a couple commits I wanted to do on top of @MaikKlein's work that I didn't want to bitrot.
huonw
commented
Jul 28, 2013
Landed in #8069. |
fix typo just fixed typo changelog: none
7969: Return original text range in PrepareRename responses when inside macro r=Veykril a=Veykril bors r+ Issue found in rust-lang#7968 Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
I am doing some cleanups in std::result.