diff options
| author | xihuwenhua <xihuwenhua@outlook.com> | 2025-08-22 14:42:26 +0800 |
|---|---|---|
| committer | xihuwenhua <xihuwenhua@outlook.com> | 2025-08-22 14:42:26 +0800 |
| commit | e1d4f099e5936181812bbaa0ed169e97f6dcc2a9 (patch) | |
| tree | 79db75fe8971e4d1973e8cb99ec5d47509e251db /src/doc/rustc-dev-guide | |
| parent | 8e3710ef31a0b2cdf5a1c2f3929b7735d1e28c20 (diff) | |
| download | rust-e1d4f099e5936181812bbaa0ed169e97f6dcc2a9.tar.gz rust-e1d4f099e5936181812bbaa0ed169e97f6dcc2a9.zip | |
doc: fix some typos in comment
Signed-off-by: xihuwenhua <xihuwenhua@outlook.com>
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/autodiff/internals.md | 2 | ||||
| -rw-r--r-- | src/doc/rustc-dev-guide/src/solve/candidate-preference.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/autodiff/internals.md b/src/doc/rustc-dev-guide/src/autodiff/internals.md index c1b31a0e4bd..c8e304f814b 100644 --- a/src/doc/rustc-dev-guide/src/autodiff/internals.md +++ b/src/doc/rustc-dev-guide/src/autodiff/internals.md @@ -17,7 +17,7 @@ fn main() { The detailed documentation for the `std::autodiff` module is available at [std::autodiff](https://doc.rust-lang.org/std/autodiff/index.html). -Differentiable programing is used in various fields like numerical computing, [solid mechanics][ratel], [computational chemistry][molpipx], [fluid dynamics][waterlily] or for Neural Network training via Backpropagation, [ODE solver][diffsol], [differentiable rendering][libigl], [quantum computing][catalyst], and climate simulations. +Differentiable programming is used in various fields like numerical computing, [solid mechanics][ratel], [computational chemistry][molpipx], [fluid dynamics][waterlily] or for Neural Network training via Backpropagation, [ODE solver][diffsol], [differentiable rendering][libigl], [quantum computing][catalyst], and climate simulations. [ratel]: https://gitlab.com/micromorph/ratel [molpipx]: https://arxiv.org/abs/2411.17011v diff --git a/src/doc/rustc-dev-guide/src/solve/candidate-preference.md b/src/doc/rustc-dev-guide/src/solve/candidate-preference.md index 89605294735..8b28f56760a 100644 --- a/src/doc/rustc-dev-guide/src/solve/candidate-preference.md +++ b/src/doc/rustc-dev-guide/src/solve/candidate-preference.md @@ -95,7 +95,7 @@ fn overflow<T: Trait>() { ``` This preference causes a lot of issues. See [#24066]. Most of the -issues are caused by prefering where-bounds over impls even if the where-bound guides type inference: +issues are caused by preferring where-bounds over impls even if the where-bound guides type inference: ```rust trait Trait<T> { fn call_me(&self, x: T) {} |
