We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Error: Send + Sync
1 parent 44eece9 commit b1037c2Copy full SHA for b1037c2
CHANGELOG.md
@@ -2,6 +2,8 @@
2
3
## Unreleased
4
5
+- Add a test to ensure that `Error` satisfies `Send` and `Sync`.
6
+
7
## 2.0.11 - 2024-11-22
8
9
- Fix `]]>` escaping in `CDATA` sections. [`#174`](https://github.com/rust-syndication/rss/pull/174)
src/error.rs
@@ -70,3 +70,14 @@ impl From<Utf8Error> for Error {
70
Error::Utf8(err)
71
}
72
73
74
+#[cfg(test)]
75
+mod test {
76
+ use super::*;
77
78
+ #[test]
79
+ fn error_send_and_sync() {
80
+ fn assert_send_sync<T: Send + Sync>() {}
81
+ assert_send_sync::<Error>();
82
+ }
83
+}
0 commit comments