Skip to content

Commit d1b9a9d

Browse files
authored
Merge pull request #1973 from mehrad31415/master
Fix incomplete doc comment on ExprUnary
2 parents e8793c1 + 1c60348 commit d1b9a9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/expr.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ ast_enum_of_structs! {
233233
/// A tuple expression: `(a, b, c, d)`.
234234
Tuple(ExprTuple),
235235

236-
/// A unary operation: `!x`, `*x`.
236+
/// A unary operation: `!x`, `*x`, `-x`.
237237
Unary(ExprUnary),
238238

239239
/// An unsafe block: `unsafe { ... }`.
@@ -674,7 +674,7 @@ ast_struct! {
674674
}
675675

676676
ast_struct! {
677-
/// A unary operation: `!x`, `*x`.
677+
/// A unary operation: `!x`, `*x`, `-x`.
678678
#[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))]
679679
pub struct ExprUnary {
680680
pub attrs: Vec<Attribute>,

0 commit comments

Comments
 (0)