Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed all compilation issues, and renamed fail/fail.rs to panic/panic.rs #280

Merged
merged 2 commits into from
Dec 2, 2014
Merged

Fixed all compilation issues, and renamed fail/fail.rs to panic/panic.rs #280

merged 2 commits into from
Dec 2, 2014

Conversation

strega-nil
Copy link

No description provided.

make all:
* Changed all `fail!()`s to `panic!()`s
* Changed current working directory to unwrap the result

make clean: Changed `rm -rf {bin,stage}` (which doesn't work) to
    `rm -rf bin stage`
makefile:
* Changed lints to be correct
  * unused-variable -> unused-variables
  * dead-assignment -> unused-assignments

rust files:
* Changed fail!() calls to panic!() calls
* Changed some syntax so that slices are correct
  * i.e. in array.rs (analyze_slice(xs) -> analyze_slice(&xs))
* Namespaced enums
* Renamed `Node` to `List` in enum.rs
  * Renamed List::append() to List::prepend(), which is the actual
    operation that is taking place
* Renamed fail/fail.rs to panic/panic.rs
  * And everything that comes with that
* Changed any `{:t}`s to `{:b}`s
* `use`d std::num::Float in places that needed it
* In fmt/show.rs, changed {:.3f} to {:.3}
* Changed hash table .find() to .get()
  * Took out the parens in a string .get(), so that
    `h.get(&("string"))` becomes `h.get(&"string")`
* Completely removed smallintmap
* In json/decodable/decodable.rs, changed {:.2f} to {:.2}
* In src/file.rs, changed a comment to be under 79 characters long
@strega-nil
Copy link
Author

Oh, and something that I forgot to write: I have also explained namespaced enums.

brson added a commit that referenced this pull request Dec 2, 2014
Fixed all compilation issues, and renamed fail/fail.rs to panic/panic.rs
@brson brson merged commit 5ee2243 into rust-lang:master Dec 2, 2014
@brson
Copy link
Contributor

brson commented Dec 2, 2014

Thanks!

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.

3 participants