1
Fork 0

rustfmt tests/rustdoc-js/.

This commit is contained in:
Nicholas Nethercote 2024-06-03 17:35:56 +10:00
parent 98d65d62c5
commit c6fb703c05
28 changed files with 240 additions and 133 deletions

View file

@ -1,8 +1,16 @@
pub trait SomeTrait {}
pub trait OtherThingxxxxxxxx {}
pub fn alef<T: OtherThingxxxxxxxx>() -> Result<T, ()> { loop {} }
pub fn bet<T: SomeTrait>() -> Result<T, ()> { loop {} }
pub fn alef<T: OtherThingxxxxxxxx>() -> Result<T, ()> {
loop {}
}
pub fn bet<T: SomeTrait>() -> Result<T, ()> {
loop {}
}
pub fn alpha<T: OtherThingxxxxxxxx>(_param: Result<T, ()>) { loop {} }
pub fn beta<T: SomeTrait>(_param: Result<T, ()>) { loop {} }
pub fn alpha<T: OtherThingxxxxxxxx>(_param: Result<T, ()>) {
loop {}
}
pub fn beta<T: SomeTrait>(_param: Result<T, ()>) {
loop {}
}