Skip to content

Commit a884811

Browse files
upstream-master の変更を取り込み
1 parent f593f83 commit a884811

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rust-2021/default-cargo-resolver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ bstr v0.2.16
354354

355355
<!--
356356
This snippet of output shows that the project `foo` depends on `bar` with the "default" feature.
357-
Then, `bar` depends on `bstr` as a build-dependency with the "default" feature
357+
Then, `bar` depends on `bstr` as a build-dependency with the "default" feature.
358358
We can further see that `bstr`'s "default" feature enables "unicode" (among other features).
359359
-->
360360

src/rust-2021/prelude.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ We can fix this by using fully qualified syntax:
7575
```rust,ignore
7676
fn main() {
7777
// Now it is clear which trait method we're referring to
78-
<Vec<i32> as MyTrait<()>::from_iter(None);
78+
<Vec<i32> as MyTrait<()>>::from_iter(None);
7979
}
8080
```
8181

0 commit comments

Comments
 (0)