about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThayne McCombs <astrothayne@gmail.com>2018-04-02 19:41:22 -0600
committerThayne McCombs <astrothayne@gmail.com>2018-04-02 19:41:22 -0600
commite75c6a741eded857b2ab06b63ebd3848d9203343 (patch)
tree265408d67e06e93c3fb8cb115ef60917ecebf705
parenta64acaa1a209d9710081cf4902e579828d26be80 (diff)
downloadrust-e75c6a741eded857b2ab06b63ebd3848d9203343.tar.gz
rust-e75c6a741eded857b2ab06b63ebd3848d9203343.zip
Remove splice page from unstable book.
-rw-r--r--src/doc/unstable-book/src/library-features/splice.md22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/doc/unstable-book/src/library-features/splice.md b/src/doc/unstable-book/src/library-features/splice.md
deleted file mode 100644
index 2e4bb1a5257..00000000000
--- a/src/doc/unstable-book/src/library-features/splice.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# `splice`
-
-The tracking issue for this feature is: [#44643]
-
-[#44643]: https://github.com/rust-lang/rust/issues/44643
-
-------------------------
-
-The `splice()` method on `String` allows you to replace a range
-of values in a string with another range of values.
-
-A simple example:
-
-```rust
-#![feature(splice)]
-let mut s = String::from("α is alpha, β is beta");
-let beta_offset = s.find('β').unwrap_or(s.len());
-
-// Replace the range up until the β from the string
-s.splice(..beta_offset, "Α is capital alpha; ");
-assert_eq!(s, "Α is capital alpha; β is beta");
-```