| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
This commit executes maint/add_warning with the just added change to
deny string slices except in tests.
I recommend auditing this by checking out the previous commit followed
by running the script yourself and then verifying that the diff is
identical to this commit.
This commit makes cargo clippy fail. We will add exceptions in the next
commit.
|
| |
|
|
| |
Run maint/add_warning
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
First, run
```
git grep -l "^edition =" |
xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;'
```
Second, manually verify that all Cargo.toml files have changed,
and nothing else has changed.
Third, run cargo fmt again.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
This was a copypaste error, resulting in a statement with the wrong
sense.
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2468#note_3086961
|
| | |
|
| | |
|
| | |
|
|
|
This is the method try_send from mpsc::channel::Sender. We want to be
able to replace that type in tor-circmgr with a memquota wrapper, so
the call needs to be a trait method.
This API is deceptively simple.
Implementing it will involve more support machinery for error handling.
|