Skip to content

Option<Parsed> is missing #42

Description

@saurabhwadekar

error[E0061]: this method takes 2 arguments but 1 argument was supplied
--> /home/saurabh/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cookie-0.18.1/src/parse.rs:226:27
|
226 | let mut date = format.parse(s.as_bytes())?;
| ^^^^^-------------- argument #2 of type
|
note: method defined here
--> /home/saurabh/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/time-0.3.52/src/parsing/parsable.rs:62:12
|
62 | fn parse(&self, input: &[u8], defaults: Option) -> Result<Parsed, error::Parse> {
| ^^^^^
help: provide the argument
|
226 | let mut date = format.parse(s.as_bytes(), /* Option */)?;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions