From 48c90a38c10ea29897bb4b1f62b2765fca0c293d Mon Sep 17 00:00:00 2001 From: "Ryan Scheel (Havvy)" Date: Thu, 15 Oct 2015 19:35:39 +0000 Subject: [PATCH] Remove outdated Changing directory. --- src/doc/style/SUMMARY.md | 4 ---- src/doc/style/changing/README.md | 5 ----- src/doc/style/changing/post-1-0.md | 12 ------------ src/doc/style/changing/pre-1-0.md | 17 ----------------- src/doc/style/changing/unclear.md | 28 ---------------------------- 5 files changed, 66 deletions(-) delete mode 100644 src/doc/style/changing/README.md delete mode 100644 src/doc/style/changing/post-1-0.md delete mode 100644 src/doc/style/changing/pre-1-0.md delete mode 100644 src/doc/style/changing/unclear.md diff --git a/src/doc/style/SUMMARY.md b/src/doc/style/SUMMARY.md index 41bc08f229e..508ede6c4a0 100644 --- a/src/doc/style/SUMMARY.md +++ b/src/doc/style/SUMMARY.md @@ -48,7 +48,3 @@ * [Testing](testing/README.md) * [Unit testing](testing/unit.md) * [FFI, platform-specific code](platform.md) -* [APIs for a changing Rust](changing/README.md) - * [Pre-1.0 changes](changing/pre-1-0.md) - * [Post-1.0 changes](changing/post-1-0.md) - * [Timing unclear](changing/unclear.md) diff --git a/src/doc/style/changing/README.md b/src/doc/style/changing/README.md deleted file mode 100644 index 38e76f6970c..00000000000 --- a/src/doc/style/changing/README.md +++ /dev/null @@ -1,5 +0,0 @@ -% API design for a changing Rust - -A number of planned Rust features will drastically affect the API design -story. This section collects some of the biggest features with concrete examples -of how the API will change. diff --git a/src/doc/style/changing/post-1-0.md b/src/doc/style/changing/post-1-0.md deleted file mode 100644 index 7ac1c837c07..00000000000 --- a/src/doc/style/changing/post-1-0.md +++ /dev/null @@ -1,12 +0,0 @@ -% Post-1.0 changes - -### Higher-kinded types - -* A trait encompassing both `Iterable` for some fixed `T` and - `FromIterator` for _all_ `U` (where HKT comes in). The train - could provide e.g. a default `map` method producing the same kind of - the container, but with a new type parameter. - -* **Monadic-generic programming**? Can we add this without deprecating - huge swaths of the API (including `Option::map`, `option::collect`, - `result::collect`, `try!` etc. diff --git a/src/doc/style/changing/pre-1-0.md b/src/doc/style/changing/pre-1-0.md deleted file mode 100644 index adadfe31a59..00000000000 --- a/src/doc/style/changing/pre-1-0.md +++ /dev/null @@ -1,17 +0,0 @@ -% Pre-1.0 changes - -### `std` facade - -We should revisit some APIs in `libstd` now that the facade effort is complete. - -For example, the treatment of environment variables in the new -`Command` API is waiting on access to hashtables before being -approved. - -### Trait reform - -Potential for standard conversion traits (`to`, `into`, `as`). - -Probably many other opportunities here. - -### Unboxed closures diff --git a/src/doc/style/changing/unclear.md b/src/doc/style/changing/unclear.md deleted file mode 100644 index e4b8a98e1a1..00000000000 --- a/src/doc/style/changing/unclear.md +++ /dev/null @@ -1,28 +0,0 @@ -% Changes with unclear timing - -### Associated items - -* Many traits that currently take type parameters should instead use associated - types; this will _drastically_ simplify signatures in some cases. - -* Associated constants would be useful in a few places, e.g. traits for - numerics, traits for paths. - -### Anonymous, unboxed return types (aka `impl Trait` types) - -* See https://github.com/rust-lang/rfcs/pull/105 - -* Could affect API design in several places, e.g. the `Iterator` trait. - -### Default type parameters - -We are already using this in a few places (e.g. `HashMap`), but it's -feature-gated. - -### Compile-time function evaluation (CTFE) - -https://github.com/mozilla/rust/issues/11621 - -### Improved constant folding - -https://github.com/rust-lang/rust/issues/7834