Alexander Bayandin
7d7d1f354b
Fix rust warnings on macOS (#8955)
## Problem
```
error: unused import: `anyhow::Context`
--> libs/utils/src/crashsafe.rs:8:5
|
8 | use anyhow::Context;
| ^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
error: unused variable: `fd`
--> libs/utils/src/crashsafe.rs:209:15
|
209 | pub fn syncfs(fd: impl AsRawFd) -> anyhow::Result<()> {
| ^^ help: if this is intentional, prefix it with an underscore: `_fd`
|
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
```
## Summary of changes
- Fix rust warnings on macOS
2024-09-07 08:17:25 +01:00
..
2024-06-04 16:16:23 +00:00
2024-07-12 13:58:04 +01:00
2024-09-06 14:33:52 +02:00
2022-04-21 13:30:33 +03:00
2024-07-30 14:32:00 +01:00
2024-02-06 09:39:06 +02:00
2022-08-16 18:49:22 +03:00
2024-09-06 14:33:52 +02:00
2024-08-13 18:51:51 +01:00
2024-09-07 08:17:25 +01:00
2024-04-08 16:27:08 +02:00
2023-07-20 17:45:10 +03:00
2024-05-25 06:06:32 +03:00
2024-06-04 16:16:23 +00:00
2024-06-26 19:53:59 +00:00
2024-05-31 18:19:41 +00:00
2024-09-06 14:33:52 +02:00
2024-08-29 11:26:52 +00:00
2024-08-29 11:26:52 +00:00
2024-09-06 14:33:52 +02:00
2024-09-06 21:05:18 +02:00
2024-03-01 17:14:19 +01:00
2023-07-11 13:11:23 -04:00
2024-01-23 11:17:15 +00:00
2024-09-06 14:33:52 +02:00
2023-10-04 17:52:23 +03:00
2024-09-06 14:33:52 +02:00
2023-08-29 23:19:40 +03:00
2024-08-29 12:06:00 +01:00
2022-12-13 14:52:04 +01:00
2024-04-30 18:50:03 +00:00
2023-04-06 12:47:21 +03:00
2023-03-31 14:47:57 +03:00
2024-04-08 15:53:07 +01:00
2024-09-06 14:33:52 +02:00
2023-11-07 10:26:25 +00:00
2023-03-28 22:29:42 +04:00
2024-09-06 14:33:52 +02:00
2023-11-06 12:39:20 +00:00
2024-01-23 11:17:15 +00:00
2023-12-15 17:43:02 +00:00
2024-07-02 12:53:08 +02:00
2024-02-06 14:43:33 +00:00
2024-09-06 14:33:52 +02:00
2024-09-06 14:33:52 +02:00
2024-03-19 10:50:41 -05:00