mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
CI: Surface Rust warnings on PRs that touch any Rust code
Rust PRs will have a failed CI step if they trigger any warnings. This helps us stay on top of warnings from new Rust releases and also ones we accidentally write. Fix a typo for demo, since this only runs when Rust files are changed.
This commit is contained in:
parent
0070c26aec
commit
8b1afbc6ed
2 changed files with 54 additions and 1 deletions
|
@ -343,7 +343,7 @@ impl<'a> std::fmt::Display for ConstPrinter<'a> {
|
|||
///
|
||||
/// Because this is extra state external to any pointer being printed, a
|
||||
/// printing adapter struct that wraps the pointer along with this map is
|
||||
/// required to make use of this effectly. The [`std::fmt::Display`]
|
||||
/// required to make use of this effectively. The [`std::fmt::Display`]
|
||||
/// implementation on the adapter struct can then be reused to implement
|
||||
/// `Display` on the inner type with a default [`PtrPrintMap`], which
|
||||
/// does not perform any mapping.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue