Skip to content

Std traits exercise: Add link to playground #2765

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PaulXiCao
Copy link

No description provided.

Copy link

google-cla bot commented Jun 2, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@@ -6,7 +6,8 @@ minutes: 30

In this example, you will implement the classic
["ROT13" cipher](https://en.wikipedia.org/wiki/ROT13). Copy this code to the
playground, and implement the missing bits. Only rotate ASCII alphabetic
[playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=d3ad23a195b8c8f56a007cc6b1ab8eb8)
, and implement the missing bits. Only rotate ASCII alphabetic
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This encodes the current content of this exercise in the link, but that would not be automatically updated if/when the exercise changes. If there's a way to address that and ensure that the link always includes precisely the text below it on the slide, that would be great. Otherwise, I think either a link to the playground homepage or no link at all would be best.

A quick search shows that we have linked to specific playground gists in a few other places -- we should probably remove those as well!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found this crate. Maybe we can build something that automatically gets a playground link to the current code example. Possibly as a separate ci job?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oo, that's a good idea! Do you want to make an issue to track it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants