diff options
| author | mat <github@matdoes.dev> | 2022-10-27 21:22:47 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-10-27 21:22:47 -0500 |
| commit | 9de6c03dfbaa08890b1ec8322a97b7097d4a9d37 (patch) | |
| tree | f8a2e96893036b32ab2299df49fa5b88fb5187da /azalea-buf/src | |
| parent | 7ae8bfab5095b8d6fe71f32a0b1cda8a47ccff94 (diff) | |
| download | azalea-drasl-9de6c03dfbaa08890b1ec8322a97b7097d4a9d37.tar.xz | |
use variables directly in format strings
thanks clippy we love you
Diffstat (limited to 'azalea-buf/src')
| -rw-r--r-- | azalea-buf/src/serializable_uuid.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-buf/src/serializable_uuid.rs b/azalea-buf/src/serializable_uuid.rs index dc251269..f42eed86 100644 --- a/azalea-buf/src/serializable_uuid.rs +++ b/azalea-buf/src/serializable_uuid.rs @@ -78,7 +78,7 @@ mod tests { let u = Uuid::parse_str("6536bfed-8695-48fd-83a1-ecd24cf2a0fd").unwrap(); let mut buf = Vec::new(); u.write_into(&mut buf).unwrap(); - println!("{:?}", buf); + println!("{buf:?}"); assert_eq!(buf.len(), 16); let u2 = Uuid::read_from(&mut Cursor::new(&buf)).unwrap(); assert_eq!(u, u2); |
