@@ -30,22 +30,37 @@ trait Student: /* comment1 */ Person /* comment2 */ {
3030trait Programmer /* comment1 */ {
3131 fn fav_language ( & self ) -> String ;
3232}
33- trait CompSciStudent1 : /* comment2 */ Programmer + Student /* comment3 */ {
33+ trait CompSciStudent1 : /* comment1 */ Programmer + Student /* comment2 */ {
3434 fn git_username ( & self ) -> String ;
3535}
3636trait CompSciStudent2 :
37- /* comment2 Longggggggggggggggggggggggggggggggggggggggggggggggggg */
38- Programmer + Student /* comment3 */
37+ /* comment1 Longggggggggggggggggggggggggggggggggggggggggggggggggg */
38+ Programmer + Student /* comment2 */
3939{
4040 fn git_username ( & self ) -> String ;
4141}
42- trait CompSciStudent3 : // comment2
43- Programmer + Student /* comment3 */
42+ trait CompSciStudent3 : // comment1
43+ Programmer + Student /* comment2 */
4444{
4545 fn git_username ( & self ) -> String ;
4646}
47- trait CompSciStudent4 : // comment2 Longgggggggggggggggggggggggggggggggggggggggggggggggggg
48- Programmer + Student /* comment3 */
47+ trait CompSciStudent4 : // comment1 Longgggggggggggggggggggggggggggggggggggggggggggggggggg
48+ Programmer + Student /* comment2 */
4949{
5050 fn git_username ( & self ) -> String ;
5151}
52+
53+ // Comment before Ident
54+ trait /* comment1 */ Person {
55+ fn fav_language ( & self ) -> String ;
56+ }
57+ trait // comment1
58+ Person {
59+ fn fav_language ( & self ) -> String ;
60+ }
61+ trait /* comment 1 */ Programmer /* comment2 */ {
62+ fn fav_language ( & self ) -> String ;
63+ }
64+ trait /* comment1 */ CompSciStudent1 : /* comment2 */ Programmer + Student /* comment3 */ {
65+ fn git_username ( & self ) -> String ;
66+ }
0 commit comments