aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2019-05-11 12:13:08 -0700
committerDavid Tolnay <dtolnay@gmail.com>2019-05-11 12:20:18 -0700
commitadd8ec6a7d94f815491e27e95c452dd005c361f3 (patch)
tree5300b49586281ccf924029c97281dbf60e85a2f7 /src
parent37ebd22cecdce07a7961d6adf041381b54ea4cce (diff)
downloadremain-add8ec6a7d94f815491e27e95c452dd005c361f3.tar.gz
Remove "named struct" terminology
All structs are named.
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs4
-rw-r--r--src/parse.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 4034303..967143e 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -4,8 +4,8 @@
//!
//! # Syntax
//!
-//! Place a `#[remain::sorted]` attribute on enums, on named structs, on
-//! match-expressions, or on let-statements whose value is a match-expression.
+//! Place a `#[remain::sorted]` attribute on enums, structs, match-expressions,
+//! or let-statements whose value is a match-expression.
//!
//! Alternatively, import as `use remain::sorted;` and use `#[sorted]` as the
//! attribute.
diff --git a/src/parse.rs b/src/parse.rs
index 804bb41..cd108ef 100644
--- a/src/parse.rs
+++ b/src/parse.rs
@@ -75,6 +75,6 @@ impl Parse for Input {
fn unexpected() -> Error {
let span = Span::call_site();
- let msg = "expected enum, named struct, or match expression";
+ let msg = "expected enum, struct, or match expression";
Error::new(span, msg)
}