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

@ -3,12 +3,20 @@ pub struct Q;
pub struct R<T>(T);
// returns test
pub fn alef() -> &'static [R<P>] { loop {} }
pub fn bet() -> R<[Q; 32]> { loop {} }
pub fn alef() -> &'static [R<P>] {
loop {}
}
pub fn bet() -> R<[Q; 32]> {
loop {}
}
// in_args test
pub fn alpha(_x: R<&'static [P]>) { loop {} }
pub fn beta(_x: [R<Q>; 32]) { loop {} }
pub fn alpha(_x: R<&'static [P]>) {
loop {}
}
pub fn beta(_x: [R<Q>; 32]) {
loop {}
}
pub trait TraitCat {}
pub trait TraitDog {}