From a82ea6a3e5eb9bb2e528d2a3320056acfe312101 Mon Sep 17 00:00:00 2001 From: Arijit Basu Date: Sun, 16 Jun 2024 15:44:32 +0530 Subject: [PATCH] Fix CI --- CODE_OF_CONDUCT.md | 24 ++++++++++++------------ docs/en/src/writing-plugins.md | 2 +- src/input.rs | 6 ------ src/ui.rs | 2 +- 4 files changed, 14 insertions(+), 20 deletions(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 8fbecfe9..1bba1efc 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -5,7 +5,7 @@ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender -identity and expression, level of experience, education, socio-economic status, +identity and expression, level of experience, education, socioeconomic status, nationality, personal appearance, race, religion, or sexual identity and orientation. @@ -17,23 +17,23 @@ diverse, inclusive, and healthy community. Examples of behavior that contributes to a positive environment for our community include: -* Demonstrating empathy and kindness toward other people -* Being respectful of differing opinions, viewpoints, and experiences -* Giving and gracefully accepting constructive feedback -* Accepting responsibility and apologizing to those affected by our mistakes, +- Demonstrating empathy and kindness toward other people +- Being respectful of differing opinions, viewpoints, and experiences +- Giving and gracefully accepting constructive feedback +- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience -* Focusing on what is best not just for us as individuals, but for the +- Focusing on what is best not just for us as individuals, but for the overall community Examples of unacceptable behavior include: -* The use of sexualized language or imagery, and sexual attention or +- The use of sexualized language or imagery, and sexual attention or advances of any kind -* Trolling, insulting or derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or email +- Trolling, insulting or derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or email address, without their explicit permission -* Other conduct which could reasonably be considered inappropriate in a +- Other conduct which could reasonably be considered inappropriate in a professional setting ## Enforcement Responsibilities @@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban. ### 4. Permanent Ban **Community Impact**: Demonstrating a pattern of violation of community -standards, including sustained inappropriate behavior, harassment of an +standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. **Consequence**: A permanent ban from any sort of public interaction within diff --git a/docs/en/src/writing-plugins.md b/docs/en/src/writing-plugins.md index e56e0382..f6075512 100644 --- a/docs/en/src/writing-plugins.md +++ b/docs/en/src/writing-plugins.md @@ -69,7 +69,7 @@ Visit [Awesome Plugins][5] for xplr plugin examples. ## Also See - [Tip: A list of hacks yet to make it as Lua plugins][15] -- [Tip: Some UI and themeing tips][12] +- [Tip: Some UI and theming tips][12] - [Tutorial: Adding a New Mode][6] - [Example: Using Environment Variables and Pipes][7] - [Example: Using Lua Function Calls][8] diff --git a/src/input.rs b/src/input.rs index b9f91152..6d381774 100644 --- a/src/input.rs +++ b/src/input.rs @@ -731,12 +731,6 @@ impl From for Key { } } -impl From for Key { - fn from(string: String) -> Self { - string.into() - } -} - impl From<&str> for Key { fn from(string: &str) -> Self { if string.len() == 1 { diff --git a/src/ui.rs b/src/ui.rs index 2469a9fd..07b95275 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -156,7 +156,7 @@ pub enum Layout { splits: Vec, }, - /// For compatibility only. A better choice is Static or Dymanic layout. + /// For compatibility only. A better choice is Static or Dynamic layout. CustomContent(Box), }