Skip to content

Commit 7f359b4

Browse files
committed
style: clippy issue
1 parent 9997524 commit 7f359b4

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
---
2424

25-
### Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
25+
### Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust
2626

2727
Foundry consists of:
2828

@@ -352,9 +352,7 @@ shall be dual licensed as above, without any additional terms or conditions.
352352
[foundry-compilers]: https://github.com/foundry-rs/compilers
353353
[ethers-solc]: https://github.com/gakonst/ethers-rs/tree/master/ethers-solc/
354354
[solady]: https://github.com/Vectorized/solady
355-
[openzeppelin]: https://github.com/OpenZeppelin/openzeppelin-contracts/tree/release-v5.1
356355
[morpho-blue]: https://github.com/morpho-org/morpho-blue
357-
[foundry-compilers]: https://github.com/foundry-rs/compilers
358356
[solmate]: https://github.com/transmissions11/solmate/
359357
[geb]: https://github.com/reflexer-labs/geb
360358
[benchmark-post]: https://www.paradigm.xyz/2022/03/foundry-02#blazing-fast-compilation--testing

crates/doc/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@ In this phase, builder invokes 2 parsers: [solang parser](https://github.com/hyp
1414

1515
Then, builder takes the output of the internal `Parser` and creates documents with additional information: the path of the original item, display identity, the target path where this document will be written.
1616

17-
1817
2. Preprocess
1918

2019
The builder accepts an array of preprocessors which can be applied to documents produced in the `Parse` phase. The preprocessors can rearrange and/or change the array as well as modify the separate documents.
2120

2221
At the end of this phase, the builder maintains a possibly modified collection of documents.
2322

24-
2523
3. Write
2624

27-
At this point, builder has all necessary information to generate documentation for the source code. It takes every document, formats the source file contents and writes/copies additional files that are required for building documentation.
25+
At this point, builder has all necessary information to generate documentation for the source code. It takes every document, formats the source file contents and writes/copies additional files that are required for building documentation.

crates/doc/src/writer/buf_writer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ impl BufWriter {
204204
self.write_piped(&VARIANTS_TABLE_HEADERS.join("|"))?;
205205
self.write_piped(&VARIANTS_TABLE_SEPARATOR)?;
206206

207-
for value in params.values.iter() {
207+
for value in &params.values {
208208
let param_name = value.as_ref().map(|v| v.name.clone());
209209

210210
let comment = param_name.as_ref().and_then(|name| {

0 commit comments

Comments
 (0)