Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Whitespace and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Drwięga committed Aug 18, 2016
1 parent 5c4f048 commit e946da4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion dapps/src/apps/fetcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.

//! Fetchable Dapps support.
//! Manages downloaded (cached) Dapps and downloads them when necessary.
//! Uses `URLHint` to resolve addresses into Dapps bundle file location.
use zip;
use std::{fs, env};
use std::io::{self, Read, Write};
Expand All @@ -32,7 +36,6 @@ use endpoint::{Endpoint, EndpointPath, Handler};
use apps::manifest::{MANIFEST_FILENAME, deserialize_manifest, serialize_manifest, Manifest};
use apps::urlhint::{URLHintContract, URLHint};


enum AppStatus {
Fetching,
Ready(LocalPageEndpoint),
Expand Down
1 change: 0 additions & 1 deletion dapps/src/apps/urlhint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ impl GithubApp {

Some(commit)
}

}

pub trait URLHint {
Expand Down
1 change: 0 additions & 1 deletion dapps/src/handlers/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ mod fetch_file;

pub use self::fetch_file::{Fetch, FetchResult, OnDone};


1 change: 1 addition & 0 deletions dapps/src/handlers/fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.

//! Hyper Server Handler that fetches a file during a request (proxy).
use std::{fs, fmt};
use std::path::PathBuf;
Expand Down

0 comments on commit e946da4

Please sign in to comment.