]> git.lizzy.rs Git - rust.git/commit
auto merge of #9455 : jesseray/rust/master, r=pnkfelix
authorbors <bors@rust-lang.org>
Wed, 25 Sep 2013 10:55:56 +0000 (03:55 -0700)
committerbors <bors@rust-lang.org>
Wed, 25 Sep 2013 10:55:56 +0000 (03:55 -0700)
commitdf97d23c71f6fbe300d3bc0dca23b063044b3934
treec547494b35d37a114e61d19f16a5a5dd792f7a7e
parentf6c9ff392becd86ee22ad96cd66e137b65195f97
parent13571af92fc8f2aa115ce1fcb8b82b5f654e5780
auto merge of #9455 : jesseray/rust/master, r=pnkfelix

In "/src/libstd/char.rs", there are function and method definitions for `is_lowercase()`, `is_uppercase()`, `is_whitespace()`, etc. However, there was no function or method for control characters, so I added the `is_control()` function and method definitions along with documentation and tests. Running `./configure && make check` shows that all tests for `is_control()` pass.