Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ updates:
interval: "daily"
open-pull-requests-limit: 20
target-branch: master
labels: [auto-dependencies]

- package-ecosystem: "github-actions"
directory: "/"
Expand Down
2 changes: 1 addition & 1 deletion lang/rust/avro/src/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ impl<T> SpecificSingleObjectWriter<T>
where
T: AvroSchema + Into<Value>,
{
/// Write the Into<Value> to the provided Write object. Returns a result with the number
/// Write the `Into<Value>` to the provided Write object. Returns a result with the number
/// of bytes written including the header
pub fn write_value<W: Write>(&mut self, data: T, writer: &mut W) -> AvroResult<usize> {
let v: Value = data.into();
Expand Down
2 changes: 1 addition & 1 deletion lang/rust/avro/tests/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down