Commit 6f787f04 authored by Ben Boeckel's avatar Ben Boeckel

invalid_paths: mention control characters

parent dd843737
......@@ -26,8 +26,8 @@ pub struct InvalidPaths {
impl InvalidPaths {
/// Create a check which rejects paths which contain invalid characters.
///
/// In addition to whitespace and non-ASCII characters, the characters given here are also
/// disallowed.
/// In addition to whitespace, control, and non-ASCII characters, the characters given here are
/// also disallowed.
pub fn new<S: ToString>(chars: S) -> Self {
Self {
invalid_characters: chars.to_string(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment