mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Return -> Returns at the start of a docstring
The imperative tense doesn't make any sense when the function is a mere getter and doesn't actually perform a nontrivial task.
This commit is contained in:
@@ -65,7 +65,7 @@ impl EguiState {
|
||||
})
|
||||
}
|
||||
|
||||
/// Return a `(width, height)` pair for the current size of the GUI in logical pixels.
|
||||
/// Returns a `(width, height)` pair for the current size of the GUI in logical pixels.
|
||||
pub fn size(&self) -> (u32, u32) {
|
||||
self.size.load()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user