Misc patches
Some misc patches I found possible when browsing the code
15 files changed
+89
-136
a1060c98
→
16d3e7b4
modified bin/cob/inbox.rs
@@ -23,16 +23,9 @@ impl Default for SortBy {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
modified bin/commands/inbox.rs
@@ -197,7 +197,7 @@ pub async fn run(options: Options, ctx: impl terminal::Context) -> anyhow::Resul
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified bin/commands/issue.rs
@@ -111,7 +111,7 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -200,7 +200,7 @@ pub async fn run(options: Options, ctx: impl terminal::Context) -> anyhow::Resul
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -226,16 +226,15 @@ pub async fn run(options: Options, ctx: impl terminal::Context) -> anyhow::Resul
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified bin/commands/issue/list.rs
@@ -123,14 +123,7 @@ impl PreviewState {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -195,25 +188,27 @@ impl TryFrom<(&Context, &TerminalInfo)> for State {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified bin/commands/patch.rs
@@ -288,7 +288,7 @@ pub async fn run(options: Options, ctx: impl terminal::Context) -> anyhow::Resul
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -382,7 +382,7 @@ mod interface {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified bin/commands/patch/list.rs
@@ -114,12 +114,13 @@ impl TryFrom<&Context> for State {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified bin/commands/patch/list/imui.rs
@@ -112,12 +112,13 @@ impl TryFrom<&Context> for App {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified bin/log.rs
@@ -21,7 +21,7 @@ pub fn enable() -> Result<(), anyhow::Error> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified bin/main.rs
@@ -174,8 +174,8 @@ fn print_help() -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified bin/state.rs
@@ -49,7 +49,7 @@ impl FileStore {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified bin/ui/format.rs
@@ -55,22 +55,16 @@ pub fn patch_state(state: &patch::State) -> (String, Color) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -82,17 +76,11 @@ pub fn author(did: &Did, alias: &Option<Alias>, is_you: bool) -> String {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
modified bin/ui/items.rs
@@ -459,9 +459,11 @@ impl FromStr for NotificationItemFilter {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1009,10 +1011,7 @@ impl CommentItem {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -1706,16 +1705,9 @@ impl<'a> HunkItem<'a> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified bin/ui/rm.rs
@@ -184,13 +184,7 @@ impl<S, M> View for IssueDetails<S, M> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified src/ui/rm/widget/window.rs
@@ -217,9 +217,11 @@ impl ShortcutsProps {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/ui/utils.rs
@@ -48,13 +48,14 @@ impl<T: Clone> LineMerger<T> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -96,7 +97,7 @@ Is this needed?
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -142,7 +143,7 @@ Is this needed?
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -164,17 +165,4 @@ fn another_function() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|