Skip to content

Commit ec5dfec

Browse files
committed
nits by me
1 parent 6e4d7cd commit ec5dfec

9 files changed

+9
-9
lines changed

src/doc/book

Submodule book updated 32 files

src/doc/rust-by-example

tests/ui/closures/closure-no-copy-mut-env.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Closures do not implement `Copy` when they capture mutable references.
1+
//! Checks taht losures do not implement `Copy` when they capture mutable references.
22
33
fn main() {
44
let mut a = 5;

tests/ui/fn/fn-arg-count-mismatch-diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Ensure clean diagnostics for argument count mismatches without unrelated errors.
1+
//! Checks clean diagnostics for argument count mismatches without unrelated errors.
22
//!
33
//! `delegate!` part related: <https://github.com/rust-lang/rust/pull/140591>
44

tests/ui/str/nul-char-equivalence.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Different NUL character representations are equivalent in strings and chars.
1+
//! Checks different NUL character representations are equivalent in strings and chars.
22
33
//@ run-pass
44

tests/ui/traits/trait-object-method-receiver-rules.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Method availability rules for trait objects depend on receiver type.
1+
//! Checks that method availability rules for trait objects depend on receiver type.
22
33
trait Foo {
44
fn borrowed(&self);

tests/ui/traits/trait-object-mut-to-shared-coercion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Coercion from `&mut dyn Trait` to `&dyn Trait` works correctly.
1+
//! Tests that coercion from `&mut dyn Trait` to `&dyn Trait` works correctly.
22
33
//@ run-pass
44

0 commit comments

Comments
 (0)