summaryrefslogtreecommitdiffstats
path: root/vendor/winnow/src/_topic/fromstr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/winnow/src/_topic/fromstr.rs')
-rw-r--r--vendor/winnow/src/_topic/fromstr.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/winnow/src/_topic/fromstr.rs b/vendor/winnow/src/_topic/fromstr.rs
new file mode 100644
index 000000000..d126d16bb
--- /dev/null
+++ b/vendor/winnow/src/_topic/fromstr.rs
@@ -0,0 +1,8 @@
+//! # Implementing `FromStr`
+//!
+//! The [`FromStr` trait][std::str::FromStr] provides
+//! a common interface to parse from a string.
+//!
+//! ```rust
+#![doc = include_str!("../../examples/css/parser.rs")]
+//! ```