{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":428885469,"defaultBranch":"main","name":"fast-ssh","ownerLogin":"Julien-R44","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-11-17T02:41:35.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/8337858?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1714260776.0","currentOid":""},"activityList":{"items":[{"before":"5618dd047b09da7115753fe6f6045d43968dc355","after":"7e621074ab3666216d60abbbcbe4c73876be137b","ref":"refs/heads/main","pushedAt":"2024-04-27T23:32:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Julien-R44","name":"Julien Ripouteau","path":"/Julien-R44","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8337858?s=80&v=4"},"commit":{"message":"chore: release 0.3.2","shortMessageHtmlLink":"chore: release 0.3.2"}},{"before":"0d81887e0b448598d35e20e557ec1916a3352b7c","after":"5618dd047b09da7115753fe6f6045d43968dc355","ref":"refs/heads/main","pushedAt":"2024-04-27T23:30:45.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Julien-R44","name":"Julien Ripouteau","path":"/Julien-R44","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8337858?s=80&v=4"},"commit":{"message":"style: fix lint errors","shortMessageHtmlLink":"style: fix lint errors"}},{"before":"de145d7863c234ec2ad5afdf025fd2ab19a059c3","after":"0d81887e0b448598d35e20e557ec1916a3352b7c","ref":"refs/heads/main","pushedAt":"2024-04-27T23:22:18.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Julien-R44","name":"Julien Ripouteau","path":"/Julien-R44","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8337858?s=80&v=4"},"commit":{"message":"Fix ambiguous call to `constraints.as_ref()` (#22)\n\nIf `fast-ssh` is built with an up-to-date version of `rustc`,\r\nthe compiler complains about `constraints.as_ref()` being ambiguous,\r\ndemanding the types involved in the `.constraints()` call be clarified\r\nwith a `::<&[Constraint]>` turbofish annotation:\r\n\r\n```\r\nCompiling fast-ssh v0.3.1 (/build/source)\r\nerror[E0283]: type annotations needed\r\n --> src/layout.rs:60:10\r\n |\r\n60 | .constraints(constraints.as_ref())\r\n | ^^^^^^^^^^^ ------ type must be known at this point\r\n | |\r\n | cannot infer type of the type parameter `C` declared on the method `constraints`\r\n |\r\n = note: multiple `impl`s satisfying `Vec: AsRef<_>` found in the `alloc` crate:\r\n - impl AsRef> for Vec\r\n where A: Allocator;\r\n - impl AsRef<[T]> for Vec\r\n where A: Allocator;\r\nhelp: consider specifying the generic argument\r\n |\r\n60 | .constraints::<&T>(constraints.as_ref())\r\n | ++++++\r\n\r\nFor more information about this error, try `rustc --explain E0283`.\r\nerror: could not compile `fast-ssh` (bin \"fast-ssh\") due to previous error\r\n```\r\n\r\nLuckily, if we use `constraints.as_slice()` instead, the types\r\ninvolved are still apparent to the compiler, and the resulting\r\ncode still remains about as readable as before.","shortMessageHtmlLink":"Fix ambiguous call to constraints.as_ref() (#22)"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEPAgOhwA","startCursor":null,"endCursor":null}},"title":"Activity ยท Julien-R44/fast-ssh"}