mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-29 14:41:09 +00:00
Add #inline to BackendKeyData simple methods
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user