Remove redundant words in comments (#31512)
remove redundant word in comment Release Notes: - N/A Signed-off-by: tongjicoder <tongjicoder@icloud.com>
This commit is contained in:
parent
0731097ee5
commit
31d908fc74
3 changed files with 3 additions and 3 deletions
|
@ -585,7 +585,7 @@ impl AnyWeakEntity {
|
|||
// Safety:
|
||||
// Docs say this is safe but can be unspecified if slotmap changes the representation
|
||||
// after `1.0.7`, that said, providing a valid entity_id here is not necessary as long
|
||||
// as we guarantee that that `entity_id` is never used if `entity_ref_counts` equals
|
||||
// as we guarantee that `entity_id` is never used if `entity_ref_counts` equals
|
||||
// to `Weak::new()` (that is, it's unable to upgrade), that is the invariant that
|
||||
// actually needs to be hold true.
|
||||
//
|
||||
|
|
|
@ -257,7 +257,7 @@ fn start_server(
|
|||
log_rx: Receiver<Vec<u8>>,
|
||||
cx: &mut App,
|
||||
) -> Arc<ChannelClient> {
|
||||
// This is the server idle timeout. If no connection comes in in this timeout, the server will shut down.
|
||||
// This is the server idle timeout. If no connection comes in this timeout, the server will shut down.
|
||||
const IDLE_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(10 * 60);
|
||||
|
||||
let (incoming_tx, incoming_rx) = mpsc::unbounded::<Envelope>();
|
||||
|
|
|
@ -62,7 +62,7 @@ Each keypress is a sequence of modifiers followed by a key. The modifiers are:
|
|||
- `fn-` The function key
|
||||
- `secondary-` Equivalent to `cmd` when Zed is running on macOS and `ctrl` when on Windows and Linux
|
||||
|
||||
The keys can be any single unicode codepoint that your keyboard generates (for example `a`, `0`, `£` or `ç`), or any named key (`tab`, `f1`, `shift`, or `cmd`). If you are using a non-Latin layout (e.g. Cyrillic), you can bind either to the cyrillic character, or the latin character that that key generates with `cmd` pressed.
|
||||
The keys can be any single unicode codepoint that your keyboard generates (for example `a`, `0`, `£` or `ç`), or any named key (`tab`, `f1`, `shift`, or `cmd`). If you are using a non-Latin layout (e.g. Cyrillic), you can bind either to the cyrillic character, or the latin character that key generates with `cmd` pressed.
|
||||
|
||||
A few examples:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue