-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Fix typos and grammar errors in Russian text and comments #151204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
rust-analyzer is developed in its own repository. If possible, consider making this change to rust-lang/rust-analyzer instead. cc @rust-lang/rust-analyzer |
| подходит как для стартапов, так и для больших компаний,\ | ||
| как для встраиваемых устройств, так и для масштабируемых\ | ||
| web-сервисов. Мой самый большой комплимент Rust." | ||
| web-сервисов. Мой самый большой комплимент Rust'у." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you're supposed to add -y after consonants for the dative case. Not sure it's worth changing, but I don't mind it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a Russian person I could say that this is not worth changing, and moreover the change is seems incorrect to me
|
r? @petrochenkov maybe |
| //- minicore: fmt | ||
| fn main() { | ||
| format_args!("{} {}, {} (подозрение на спам: {:.2}%)"б); | ||
| format_args!("{} {}, {} (подозрение на спам: {:.2}%)"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The character б here is intentional (see rust-lang/rust-analyzer#20963).
Please revert this change and the accompanying generated test data at
src/tools/rust-analyzer/crates/ide/src/syntax_highlighting/test_data/regression_20952.html.
| <pre><code><span class="keyword">fn</span> <span class="function declaration">main</span><span class="parenthesis">(</span><span class="parenthesis">)</span> <span class="brace">{</span> | ||
| <span class="macro default_library library">format_args</span><span class="macro_bang">!</span><span class="parenthesis">(</span>"{} {}, {} (подозрение на спам: {:.2}%)"б<span class="parenthesis">)</span><span class="semicolon">;</span> | ||
| <span class="brace">}</span></code></pre> | ||
| <span class="brace">}</span></code></pre> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please drop the newline too. And squash to avoid merging these changes into the subtree.
|
r? me |
|
The job Click to see the possible cause of the failure (guessed by this bot) |
Fixes typos, grammar errors, and removes stray characters in Russian text and English comments.