Skip to content

Commit 9238b8a

Browse files
committed
server: Fix new clippy warnings
1 parent 6fbb5a3 commit 9238b8a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

server/svix-server/src/core/otel_spans.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ impl<B> OnResponse<B> for AxumOtelOnResponse {
109109
span: &tracing::Span,
110110
) {
111111
let status = response.status().as_u16().to_string();
112-
span.record("http.status_code", &tracing::field::display(status));
112+
span.record("http.status_code", tracing::field::display(status));
113113
span.record("otel.status_code", "OK");
114114

115115
tracing::debug!(

server/svix-server/src/core/types/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,6 +1232,7 @@ macro_rules! repr_enum {
12321232
/// 1. Name of the enum type, `Foo`
12331233
/// 2. The repr type used, e.g. in case of `repr(i16)` it must be `i16`
12341234
/// 3. The string description to be used in the docs.
1235+
///
12351236
/// Remaining arguments must be the variants in order. For example:
12361237
///
12371238
/// ```ignore

0 commit comments

Comments
 (0)