Commit Graph

9 Commits

Author SHA1 Message Date
André Vennberg 0b35f448f8 Remove various double spaces in source comments. 2023-01-14 17:22:04 +01:00
Joshua Nelson 3534e0a393 Fix a few clippy lints in libtest
- Remove unnecessary references and dereferences
- Use `.contains` instead of `a <= x && x <= b`
- Use `mem::take` instead of `mem::replace` where possible
2023-01-03 18:55:03 +00:00
Ralf Jung 3ff0a33a83 WinConsole::new is not actually fallible 2022-10-21 12:18:33 +02:00
Ralf Jung 5076c902a4 test: skip terminfo parsing in Miri 2022-08-07 11:56:12 -04:00
T-O-R-U-S 72a25d05bf Use implicit capture syntax in format_args
This updates the standard library's documentation to use the new syntax. The
documentation is worthwhile to update as it should be more idiomatic
(particularly for features like this, which are nice for users to get acquainted
with). The general codebase is likely more hassle than benefit to update: it'll
hurt git blame, and generally updates can be done by folks updating the code if
(and when) that makes things more readable with the new format.

A few places in the compiler and library code are updated (mostly just due to
already having been done when this commit was first authored).
2022-03-10 10:23:40 -05:00
Fabian Wolff 79adda930f Ignore automatically derived impls of Clone and Debug in dead code analysis 2021-09-09 19:49:07 +02:00
Charles Lew 4486795d02 Remove unused stuff and switch to pub(crate) whenever possible. 2021-07-18 22:00:41 +08:00
Charles Lew 950f569c91 Fix compilation errors. 2021-07-18 20:51:47 +08:00
Charles Lew 9c11113b4f Move library/term/src to library/test/src/term/. 2021-07-18 20:49:18 +08:00