Skip to content

Commit

Permalink
Spaces instead of tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin authored Sep 2, 2019
1 parent 6c24e0a commit 0311660
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ versions.
```

After upgrading:

```rust
let url = Url::parse("http://github.com:80").unwrap();
let stream = TcpStream::connect(url.socket_addrs(|| match url.scheme() {
Expand Down Expand Up @@ -96,7 +96,7 @@ versions.

```rust
/// https://url.spec.whatwg.org/#query-state
const QUERY: &AsciiSet = &CONTROLS.add(b' ').add(b'"').add(b'#').add(b'<').add(b'>');
const QUERY: &AsciiSet = &CONTROLS.add(b' ').add(b'"').add(b'#').add(b'<').add(b'>');

percent_encoding::utf8_percent_encode(value, QUERY);
```
Expand Down

0 comments on commit 0311660

Please sign in to comment.