Commit graph

89 commits

Author SHA1 Message Date
Nick Cameron 541ccbe700 Merge pull request #61 from oli-obk/master
a panic->Result conversion approach to idem test
2015-05-12 10:31:51 +12:00
Nick Cameron 83285269ee Merge branch 'mattyhall-single-import' 2015-05-12 10:06:12 +12:00
Nick Cameron 3b383a4c22 Merge branch 'single-import' of https://github.com/mattyhall/rustfmt into mattyhall-single-import
Rebased:
	src/imports.rs
2015-05-12 10:03:25 +12:00
Nick Cameron e2a5d94e3f Merge pull request #68 from marcusklaas/import-breaks
Keep import lists on a single line when possible
2015-05-12 09:39:22 +12:00
Nick Cameron 7e5b05d443 Merge pull request #69 from oli-obk/patch-1
typo
2015-05-12 08:23:19 +12:00
Oliver Schneider 853b58901b typo 2015-05-11 15:05:12 +02:00
Oliver Schneider ee338d934e don't create a thread just for panic-isolation 2015-05-05 16:56:29 +02:00
Marcus Klaas c790d7d550 Keep import lists on a single line when possible 2015-05-04 22:22:31 +02:00
Oliver Schneider a14dcdf0c2 addressed comments 2015-05-04 11:04:34 +02:00
Oliver Schneider 07637aed41 rustfmt dislikes tabs and some newlines 2015-05-04 10:09:41 +02:00
Nick Cameron 0ede9ae861 Merge pull request #62 from marcusklaas/use-indent
Correctly indent use items and functions
2015-05-04 19:28:21 +12:00
Marcus Klaas 58a14fbc79 Correctly indent use items and functions 2015-05-04 09:25:20 +02:00
Nick Cameron 411abe08de Merge pull request #63 from nicholasbishop/bishop-missing-verb
Fix a missing word in the README
2015-05-03 11:49:36 +12:00
Nicholas Bishop 1ef94acec1 Fix a missing word in the README 2015-05-02 19:15:42 -04:00
Matthew Hall 59352172b3 Change import lists with one item to single import
Changes lists such as ``use std::{fmt}`` to a form without a list, eg
``use std::fmt``.
2015-05-02 20:28:38 +01:00
defyrlt 59554dd5e1 Resolved #56 -- mut was eaten out of mut self in fn args. 2015-05-02 20:27:08 +01:00
Oliver Schneider b546dfcf83 forgot newline at eof
rustfmt found it
2015-05-02 17:09:33 +02:00
Oliver Schneider 968344fba1 pass single filename instead of full argument list to idem_check 2015-05-02 16:56:46 +02:00
Oliver Schneider a50337a118 first step to a non-panicking idem_check function 2015-05-02 16:50:33 +02:00
Nick Cameron f83e3400cb Merge pull request #60 from oli-obk/master
babysteps towards #51
2015-05-02 18:47:27 +12:00
Oliver Schneider 62e583d4cf split main function and test function into their own files
small modifications to make executable and test compile properly
2015-05-01 22:28:58 +02:00
Oliver Schneider e6e7ce178f main.rs -> lib.rs 2015-05-01 22:24:53 +02:00
Nick Cameron 3149eff223 Merge pull request #58 from Stebalien/borrow
Trust the borrow checker.
2015-05-02 06:59:00 +12:00
Steven Allen c006b84d87 Trust the borrow checker. 2015-05-01 12:17:14 -04:00
Nick Cameron 2b73dcd662 Merge pull request #57 from defyrlt/issue_56
`mut` was eaten out of `mut self` in fn args.
2015-05-01 23:16:54 +12:00
defyrlt 81c9db3275 Resolved #56 -- mut was eaten out of mut self in fn args. 2015-05-01 14:14:04 +03:00
Nick Cameron 47b29abd92 Merge pull request #55 from tedsta/master
Spaces around  in type bounds
2015-05-01 14:58:53 +12:00
Theodore DeRego 4f75227714 Spaces around in type bounds 2015-04-30 16:52:11 -10:00
Nick Cameron 381491b3b3 Merge pull request #44 from tbu-/pr_bin
Rename `src/mod.rs` to `src/main.rs` to adhere to the standard crate format
2015-05-01 08:22:13 +12:00
Nick Cameron 93c3851a24 Merge pull request #50 from aepsil0n/patch-1
Add a missing "not" to readme
2015-05-01 08:21:39 +12:00
Nick Cameron 59f24a0911 Merge pull request #49 from oli-obk/gitignore
add gitignore
2015-05-01 07:18:57 +12:00
Tobias Bucher 2145108043 Rename src/mod.rs to src/main.rs to adhere to the standard crate format 2015-04-30 13:37:09 +02:00
Eduard Bopp 48303fcbd0 Add a missing "not" to readme
This is probably how it was meant. The imaginary HIR is pretty much equivalent to semantics, as far as I understand.
2015-04-30 13:26:51 +02:00
Oliver Schneider 91bcc337da add gitignore 2015-04-30 13:20:44 +02:00
Nick Cameron 4560df2567 Merge pull request #43 from tbu-/pr_nostaticmut
Use `AtomicUsize` instead of `static mut` that require `unsafe`
2015-04-30 21:13:36 +12:00
Nick Cameron 0931b7c6df Merge pull request #45 from tbu-/pr_toowned
Change `to_string` to `to_owned` when it just creates a `String` from a `&str`
2015-04-30 21:10:54 +12:00
Nick Cameron 8a0a1bdcd1 Merge pull request #46 from tbu-/pr_testwarnings
Fix warnings in `cargo test`
2015-04-30 21:10:25 +12:00
Nick Cameron 036b3eecc1 Merge pull request #47 from tbu-/pr_cargolock
Add `Cargo.lock` file, because this application is a program
2015-04-30 21:10:03 +12:00
Tobias Bucher 2f221fd095 Use AtomicUsize instead of static mut that require unsafe 2015-04-30 10:40:37 +02:00
Tobias Bucher 5247d98d31 Change to_string to to_owned when it just creates a String from a &str
This means that it doesn't have to go through the formatting hierarchy and can
just immediately reserve enough memory.
2015-04-30 10:31:42 +02:00
Nick Cameron 63ab77fb47 Merge pull request #39 from Manishearth/pubuse
Handle pub use (fixes #23)
2015-04-30 20:26:22 +12:00
Manish Goregaokar 9398aed82c Handle pub use (fixes #23) 2015-04-30 13:52:28 +05:30
Nick Cameron cf67615b2e Merge pull request #40 from Manishearth/travis
Travisify
2015-04-30 20:19:04 +12:00
Manish Goregaokar c53dc54939 travisify 2015-04-30 13:46:18 +05:30
Tobias Bucher 7d70c9b02d Add Cargo.lock file, because this application is a program
Do this so you can reliably build `rustfmt` in the future, even if one of the
dependencies (in this case, only `strings.rs`) makes backward-incompatible
changes.

See also http://doc.crates.io/guide.html#cargo.toml-vs-cargo.lock.
2015-04-30 09:33:13 +02:00
Tobias Bucher dc3e236599 Fix warnings in cargo test 2015-04-30 09:32:38 +02:00
Nick Cameron 35b0081543 Add a line about nightly builds to the readme 2015-04-30 16:19:54 +12:00
Nick Cameron 25fcb7754a Add README.md 2015-04-30 15:09:33 +12:00
Nick Cameron 2d5226b825 Use + for type bounds 2015-04-29 16:44:29 +12:00
Nick Cameron f61ad35494 Preserve linebreaks in doc comments 2015-04-29 16:25:52 +12:00