Fix mutability of recipient in accessors.
This commit is contained in:
parent
1d1a41ac3d
commit
db0fe0873d
@ -263,7 +263,7 @@ impl<Arguments, Prefix, Options> CertDesignators<Arguments, Prefix, Options> {
|
||||
}
|
||||
|
||||
/// Like `Vec::is_empty`.
|
||||
pub fn is_empty(&mut self) -> bool {
|
||||
pub fn is_empty(&self) -> bool {
|
||||
self.designators.is_empty()
|
||||
}
|
||||
|
||||
|
@ -122,7 +122,7 @@ impl<Arguments, Options> UserIDDesignators<Arguments, Options> {
|
||||
}
|
||||
|
||||
/// Like `Vec::is_empty`.
|
||||
pub fn is_empty(&mut self) -> bool {
|
||||
pub fn is_empty(&self) -> bool {
|
||||
self.designators.is_empty()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user