mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
Add #inline to BackendKeyData simple methods
This commit is contained in:
parent
8e7a940201
commit
282050d17f
@ -12,10 +12,12 @@ pub struct BackendKeyData {
|
||||
}
|
||||
|
||||
impl BackendKeyData {
|
||||
#[inline]
|
||||
pub fn process_id(&self) -> u32 {
|
||||
self.process_id
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn secret_key(&self) -> u32 {
|
||||
self.secret_key
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user