mirror of
https://github.com/Tribufu/rust-gamedig
synced 2026-08-09 23:21:06 +00:00
[Crate] Enforce formatting in CI (#46)
* [CI] Check formatting * Format all files
This commit is contained in:
parent
a6279177bb
commit
b95b2abe0f
76 changed files with 251 additions and 170 deletions
|
|
@ -108,13 +108,9 @@ impl Bufferer {
|
|||
Ok(value)
|
||||
}
|
||||
|
||||
pub fn get_string_utf8(&mut self) -> GDResult<String> {
|
||||
self.get_string_utf8_until(0)
|
||||
}
|
||||
pub fn get_string_utf8(&mut self) -> GDResult<String> { self.get_string_utf8_until(0) }
|
||||
|
||||
pub fn get_string_utf8_newline(&mut self) -> GDResult<String> {
|
||||
self.get_string_utf8_until(10)
|
||||
}
|
||||
pub fn get_string_utf8_newline(&mut self) -> GDResult<String> { self.get_string_utf8_until(10) }
|
||||
|
||||
pub fn get_string_utf8_optional(&mut self) -> GDResult<String> {
|
||||
match self.get_string_utf8() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue