diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 300539e2e98..0059d8f55a3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -85,7 +85,6 @@ updates: interval: "daily" open-pull-requests-limit: 20 target-branch: master - labels: [auto-dependencies] - package-ecosystem: "github-actions" directory: "/" diff --git a/lang/rust/avro/src/writer.rs b/lang/rust/avro/src/writer.rs index 3bc5c51224b..82a5b138723 100644 --- a/lang/rust/avro/src/writer.rs +++ b/lang/rust/avro/src/writer.rs @@ -456,7 +456,7 @@ impl SpecificSingleObjectWriter where T: AvroSchema + Into, { - /// Write the Into to the provided Write object. Returns a result with the number + /// Write the `Into` to the provided Write object. Returns a result with the number /// of bytes written including the header pub fn write_value(&mut self, data: T, writer: &mut W) -> AvroResult { let v: Value = data.into(); diff --git a/lang/rust/avro/tests/io.rs b/lang/rust/avro/tests/io.rs index e3d8a683690..fc316b0609b 100644 --- a/lang/rust/avro/tests/io.rs +++ b/lang/rust/avro/tests/io.rs @@ -132,7 +132,7 @@ fn test_binary_int_encoding() { #[test] fn test_binary_long_encoding() { for (number, hex_encoding) in BINARY_ENCODINGS.iter() { - let encoded = to_avro_datum(&Schema::Long, Value::Long(*number as i64)).unwrap(); + let encoded = to_avro_datum(&Schema::Long, Value::Long(*number)).unwrap(); assert_eq!(&encoded, hex_encoding); } }