fix(lib): Fix incorrect error message for name validation
The message should have been the exact opposite, duh!
This commit is contained in:
parent
773d6eec9d
commit
1b79584088
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ impl Name {
|
|||
let string = s.to_string();
|
||||
|
||||
if !string.starts_with('/') {
|
||||
return Err(Error::InvalidQueueName("Queue name must not start with '/'"));
|
||||
return Err(Error::InvalidQueueName("Queue name must start with '/'"));
|
||||
}
|
||||
|
||||
// The C library has a special error return for this case, so I assume people must actually
|
||||
|
|
Loading…
Reference in a new issue