Skip to content

Commit

Permalink
Reformat fbobjc
Browse files Browse the repository at this point in the history
Summary:
```
hg st -n --rev '.^' | xargs hg log
```

shows no files where modified in 2022, so it should be OK to land these files earlier.

[Context](https://fb.workplace.com/groups/rust.language/posts/8804682282913642)

Reviewed By: zertosh

Differential Revision: D37471747

fbshipit-source-id: f248c2e47518e084a01d97a6955e7eeddd60c618
  • Loading branch information
stepancheg authored and facebook-github-bot committed Jun 29, 2022
1 parent 09ec729 commit 1bbbbc5
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 13 deletions.
41 changes: 29 additions & 12 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,48 @@
* limitations under the License.
*/

use anyhow::{ensure, Context, Error};
use clap::{crate_version, App, Arg};
use anyhow::ensure;
use anyhow::Context;
use anyhow::Error;
use clap::crate_version;
use clap::App;
use clap::Arg;
use diff::Result as DiffResult;
use grep::regex::{RegexMatcher, RegexMatcherBuilder};
use grep::searcher::{BinaryDetection, Searcher, SearcherBuilder, Sink, SinkMatch};
use grep::regex::RegexMatcher;
use grep::regex::RegexMatcherBuilder;
use grep::searcher::BinaryDetection;
use grep::searcher::Searcher;
use grep::searcher::SearcherBuilder;
use grep::searcher::Sink;
use grep::searcher::SinkMatch;
use ignore::overrides::OverrideBuilder;
use ignore::{WalkBuilder, WalkState};
use regex::{Regex, RegexBuilder};
use ignore::WalkBuilder;
use ignore::WalkState;
use regex::Regex;
use regex::RegexBuilder;
use std::borrow::Cow;
use std::cmp::{max, min};
use std::cmp::max;
use std::cmp::min;
use std::collections::HashSet;
use std::env;
use std::fmt;
use std::fs::{self, read_to_string};
use std::fs;
use std::fs::read_to_string;
use std::iter;
use std::path::{Path, PathBuf};
use std::process::{exit, Command};
use std::path::Path;
use std::path::PathBuf;
use std::process::exit;
use std::process::Command;
use std::sync::mpsc::channel;
use std::sync::{Arc, Mutex};
use std::sync::Arc;
use std::sync::Mutex;
use std::thread;

mod terminal;

use crate::terminal::Color;
use rprompt::{prompt_reply_stderr, prompt_reply_stdout};
use rprompt::prompt_reply_stderr;
use rprompt::prompt_reply_stdout;

type Result<T> = ::std::result::Result<T, Error>;

Expand Down
3 changes: 2 additions & 1 deletion src/terminal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
*/

use crossterm::style::SetForegroundColor;
use crossterm::terminal::{Clear, ClearType};
use crossterm::terminal::Clear;
use crossterm::terminal::ClearType;
use crossterm::ExecutableCommand;
use std::io;

Expand Down

0 comments on commit 1bbbbc5

Please sign in to comment.