Skip to content

Commit de38c94

Browse files
committed
Remove doc comment warnings
1 parent 17d2fb4 commit de38c94

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

crates/hotfix-dictionary/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ impl Dictionary {
271271
.map(|data| Abbreviation(self, data))
272272
}
273273

274-
/// Returns the [`Message`](Message) associated with `name`, if any.
274+
/// Returns the [`Message`] associated with `name`, if any.
275275
///
276276
/// ```
277277
/// use hotfix_dictionary::Dictionary;
@@ -287,7 +287,7 @@ impl Dictionary {
287287
self.message_by_msgtype(msg_type)
288288
}
289289

290-
/// Returns the [`Message`](Message) that has the given `msgtype`, if any.
290+
/// Returns the [`Message`] that has the given `msgtype`, if any.
291291
///
292292
/// ```
293293
/// use hotfix_dictionary::Dictionary;

crates/hotfix-message/src/encoding/field_types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//! | `SeqNum` | [`u64`]. |
99
//! | `TagNum` | [`TagU32`](crate::TagU32). |
1010
//! | `DayOfMonth` | [`u32`]. |
11-
//! | `float`, `Price`, etc. | [`f32`], [`f64`], [`struct@rust_decimal::Decimal`], [`struct@decimal::d128`]. |
11+
//! | `float`, `Price`, etc. | [`f32`], [`f64`]. |
1212
//! | `Boolean` | [`bool`]. |
1313
//! | `char` | [`u8`] [^1]. |
1414
//! | `String` | [`Vec<u8>`], `&[u8]`.[^1] |

crates/hotfix/tests/session_test_cases/logon_tests.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ async fn test_happy_logon() {
2727
mock_counterparty.then_gets_disconnected().await;
2828
}
2929

30+
/// Tests that sending a non-logon message (execution report) in response to a logon
31+
/// request results in immediate disconnection. This verifies protocol compliance
32+
/// where the first message after connection must be a logon response.
3033
#[tokio::test]
3134
async fn test_non_logon_response_to_logon() {
3235
let (session, mut mock_counterparty) = given_a_connected_session().await;

0 commit comments

Comments
 (0)