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:
Robbert van der Helm
2022-04-26 19:39:03 +02:00
parent b481274f64
commit bb3175f68e
9 changed files with 13 additions and 13 deletions

View File

@@ -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()
}