Skip to content

Commit 8702e66

Browse files
kianmengsnshn
authored andcommitted
Fix typos
Found via `typos --hidden --format brief`
1 parent 7fed227 commit 8702e66

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.actor/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The Actor provides three types of outputs:
8585
- **Memory Requirements**:
8686
- Minimum: 4168 MB RAM
8787
- **Processing Time**:
88-
- 30s per compex page like [bbc.co.uk](https://bbc.co.uk)
88+
- 30s per complex page like [bbc.co.uk](https://bbc.co.uk)
8989

9090

9191
For more help, check the [Monolith Project documentation](https://github.com/Y2Z/monolith) or raise an issue in the [Actor page detail](https://apify.com/snshn/monolith?fpr=snshn) on Apify.

src/cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub struct Cache {
1616
min_file_size: usize, // Only use database for assets larger than this size (in bytes), otherwise keep them in RAM
1717
metadata: HashMap<String, CacheMetadataItem>, // Dictionary of metadata (and occasionally data [mostly for very small files])
1818
db: Option<Database>, // Pointer to database instance; None if not yet initialized or if failed to initialize
19-
db_ok: Option<bool>, // None by default, Some(true) if was able to initialize database, Some (false) if an error occured
19+
db_ok: Option<bool>, // None by default, Some(true) if was able to initialize database, Some (false) if an error occurred
2020
db_file_path: Option<String>, // Filesystem path to file used for storing database
2121
}
2222

src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ fn main() {
263263
}
264264

265265
// Initiate session
266-
let ouptput_format = options.output_format.clone();
266+
let output_format = options.output_format.clone();
267267
let silent = options.silent;
268268
let session: Session = Session::new(cache, cookies, options);
269269

@@ -278,7 +278,7 @@ fn main() {
278278
let mut output = Output::new(
279279
&destination.unwrap_or(String::new()),
280280
&title.unwrap_or_default(),
281-
ouptput_format,
281+
output_format,
282282
)
283283
.expect("could not prepare output");
284284

@@ -300,7 +300,7 @@ fn main() {
300300
let mut output = Output::new(
301301
&destination.unwrap_or(String::new()),
302302
&title.unwrap_or_default(),
303-
ouptput_format,
303+
output_format,
304304
)
305305
.expect("could not prepare output");
306306

0 commit comments

Comments
 (0)