small typo fix (#5693)

This commit is contained in:
pwygab 2022-06-01 10:24:16 +08:00 committed by GitHub
parent ee8a0c9477
commit b79abdb2a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -208,7 +208,7 @@ impl Signature {
self
}
/// Add a required positional argument to the signature
/// Add an optional positional argument to the signature
pub fn optional(
mut self,
name: impl Into<String>,