Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
StuartHarris committed Jul 26, 2024
1 parent 842dc6d commit 673f01a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions crux_http/src/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl std::fmt::Debug for HttpRequest {
} else {
format!("<binary data - {} bytes>", self.body.len())
};
let mut builder = f.debug_struct("HttpReqeuest");
let mut builder = f.debug_struct("HttpRequest");
builder
.field("method", &self.method)
.field("url", &self.url);
Expand Down Expand Up @@ -303,7 +303,7 @@ mod tests {
let repr = format!("{req:?}");
assert_eq!(
repr,
r#"HttpReqeuest { method: "POST", url: "http://example.com", headers: [HttpHeader { name: "foo", value: "bar" }], body: "hello world!" }"#
r#"HttpRequest { method: "POST", url: "http://example.com", headers: [HttpHeader { name: "foo", value: "bar" }], body: "hello world!" }"#
);
}

Expand All @@ -316,7 +316,7 @@ mod tests {
let repr = format!("{req:?}");
assert_eq!(
repr,
r#"HttpReqeuest { method: "POST", url: "http://example.com", body: "abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstu😀😀"... }"#
r#"HttpRequest { method: "POST", url: "http://example.com", body: "abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstu😀😀"... }"#
);
}

Expand All @@ -328,7 +328,7 @@ mod tests {
let repr = format!("{req:?}");
assert_eq!(
repr,
r#"HttpReqeuest { method: "POST", url: "http://example.com", body: <binary data - 4 bytes> }"#
r#"HttpRequest { method: "POST", url: "http://example.com", body: <binary data - 4 bytes> }"#
);
}
}
Expand Down
4 changes: 2 additions & 2 deletions docs/src/getting_started/Android/android.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ this:
```admonish
The code fence above uses AGP version `8.3.2`.
Currently there is an incompatibiliity between the latest version (`8.4.0`) of the Android Gradle Plugin (AGP) and the Rust Gradle Plugin, which fails with a `duplicate resources` issue when building your shared library for multiple targets. For now, either just target one archtecture or stick with AGP version `8.3.2` until this is resolved.
Currently there is an incompatibiliity between the latest version (`8.4.0`) of the Android Gradle Plugin (AGP) and the Rust Gradle Plugin, which fails with a `duplicate resources` issue when building your shared library for multiple targets. For now, either just target one architecture or stick with AGP version `8.3.2` until this is resolved.
```

Edit the **library**'s `build.gradle` (`/Android/shared/build.gradle`) to look
Expand All @@ -130,7 +130,7 @@ like this:
```

```admonish warning title="Sharp edge"
You will need to set the `ndkVersion` to one you have installed, go to "**Tools, SDK Manager, SDK Tooks**" and check "**Show Package Details**" to get your installed version, or to install the version matching `build.gradle` above.
You will need to set the `ndkVersion` to one you have installed, go to "**Tools, SDK Manager, SDK Tools**" and check "**Show Package Details**" to get your installed version, or to install the version matching `build.gradle` above.
```

```admonish tip
Expand Down

0 comments on commit 673f01a

Please sign in to comment.