mirror of
https://github.com/timvisee/ffsend.git
synced 2025-10-06 02:29:57 +02:00
Fix spelling
This commit is contained in:
parent
c7c53d8649
commit
e2c20840e4
11 changed files with 26 additions and 26 deletions
|
@ -35,7 +35,7 @@ impl<'a: 'b, 'b> UploadMatcher<'a> {
|
|||
let name = self.matches.value_of("name")?;
|
||||
|
||||
// The file name must not be empty
|
||||
// TODO: allow to force an empty name here, and process emtpy names on downloading
|
||||
// TODO: allow to force an empty name here, and process empty names on downloading
|
||||
if name.trim().is_empty() {
|
||||
quit_error_msg(
|
||||
"the file name must not be empty",
|
||||
|
@ -171,7 +171,7 @@ pub enum CopyMode {
|
|||
}
|
||||
|
||||
impl CopyMode {
|
||||
/// Build the string to copy, based on the given `url` and currend mode.
|
||||
/// Build the string to copy, based on the given `url` and current mode.
|
||||
pub fn build(&self, url: &str) -> String {
|
||||
match self {
|
||||
CopyMode::Url => url.into(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue